##// END OF EJS Templates
Removed dead code....
Removed dead code. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8946 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8718:c2943ffd2938
r8826:95811c8e4c42
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 %>
<% form_tag({}) do %>
<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' %>">
<td><%=h committer %></td>
<td>
<%= hidden_field_tag "committers[#{i}][]", committer %>
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>
<p><%= submit_tag(l(:button_update)) %></p>
<% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/committers.html.erb...
r7169 <% end %>