Mercurial > hg > soundsoftware-site
comparison app/views/repositories/committers.html.erb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | cbb26bc654de |
children | dffacf8a6908 |
comparison
equal
deleted
inserted
replaced
929:5f33065ddc4b | 1115:433d4f72a19b |
---|---|
4 | 4 |
5 <% if @committers.empty? %> | 5 <% if @committers.empty? %> |
6 <p class="nodata"><%= l(:label_no_data) %></p> | 6 <p class="nodata"><%= l(:label_no_data) %></p> |
7 <% else %> | 7 <% else %> |
8 | 8 |
9 <% form_tag({}) do %> | 9 <%= form_tag({}) do %> |
10 <table class="list"> | 10 <table class="list"> |
11 <thead> | 11 <thead> |
12 <tr> | 12 <tr> |
13 <th><%= l(:field_login) %></th> | 13 <th><%= l(:field_login) %></th> |
14 <th><%= l(:label_user) %></th> | 14 <th><%= l(:label_user) %></th> |
19 <% @committers.each do |committer, user_id| -%> | 19 <% @committers.each do |committer, user_id| -%> |
20 <tr class="<%= cycle 'odd', 'even' %>"> | 20 <tr class="<%= cycle 'odd', 'even' %>"> |
21 <td><%=h committer %></td> | 21 <td><%=h committer %></td> |
22 <td> | 22 <td> |
23 <%= hidden_field_tag "committers[#{i}][]", committer %> | 23 <%= hidden_field_tag "committers[#{i}][]", committer %> |
24 <%= 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) %> | 24 <%= select_tag "committers[#{i}][]", |
25 content_tag( | |
26 'option', | |
27 "-- #{l :actionview_instancetag_blank_option} --", | |
28 :value => '' | |
29 ) + | |
30 options_from_collection_for_select( | |
31 @users, 'id', 'name', user_id.to_i | |
32 ) %> | |
25 </td> | 33 </td> |
26 </tr> | 34 </tr> |
27 <% i += 1 -%> | 35 <% i += 1 -%> |
28 <% end -%> | 36 <% end -%> |
29 </tbody> | 37 </tbody> |