Mercurial > hg > soundsoftware-site
diff .svn/pristine/c6/c6012a2dcba3e4d67f3362d712fe8772a73b578d.svn-base @ 1296:038ba2d95de8 redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:05:06 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/c6/c6012a2dcba3e4d67f3362d712fe8772a73b578d.svn-base Fri Jun 14 09:05:06 2013 +0100 @@ -0,0 +1,42 @@ +<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> + <tr> + <th><%= l(:field_login) %></th> + <th><%= l(:label_user) %></th> + </tr> +</thead> +<tbody> +<% i = 0 -%> +<% @committers.each do |committer, user_id| -%> + <tr class="<%= cycle 'odd', 'even' %>"> + <td><%=h committer %></td> + <td> + <%= hidden_field_tag "committers[#{i}][]", committer %> + <%= 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 + ) %> + </td> + </tr> + <% i += 1 -%> +<% end -%> +</tbody> +</table> +<p><%= submit_tag(l(:button_update)) %></p> +<% end %> + +<% end %>