##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r15119:53710d80fc88
Show More
committers.html.erb
42 lines | 1.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 <h2><%= l(:label_repository) %></h2>
<%= simple_format(l(:text_repository_usernames_mapping)) %>
<% if @committers.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}) do %>
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 <table class="list">
<thead>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 <tr>
<th><%= l(:field_login) %></th>
<th><%= l(:label_user) %></th>
</tr>
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 </thead>
<tbody>
Jean-Philippe Lang
Fixes repository user mapping submission when a repository username is blank (#2339, Conflicting types for parameter containers)....
r2135 <% i = 0 -%>
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 <% @committers.each do |committer, user_id| -%>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 <tr class="<%= cycle 'odd', 'even' %>">
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td><%= committer %></td>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 <td>
Jean-Philippe Lang
Removed duplicate element ids....
r13262 <%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %>
Toshi MARUYAMA
code layout cleanup app/views/repositories/committers.html.erb...
r8718 <%= select_tag "committers[#{i}][]",
content_tag(
'option',
"-- #{l :actionview_instancetag_blank_option} --",
:value => ''
) +
options_from_collection_for_select(
@users, 'id', 'name', user_id.to_i
) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 </td>
</tr>
<% i += 1 -%>
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 <% end -%>
</tbody>
</table>
Jean-Philippe Lang
Use :button_save instead of :button_update on committers form (#15275)....
r12054 <p><%= submit_tag(l(:button_save)) %></p>
Jean-Philippe Lang
Maps repository users to Redmine users (#1383)....
r2004 <% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 <% end %>