Sha256: 92cbcd21dacb9d0c26908950db08f311b71de7ac0cb234e6be4c335fe6c4367e

Contents?: true

Size: 1.08 KB

Versions: 34

Compression:

Stored size: 1.08 KB

Contents

<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><%= committer %></td>
    <td>
      <%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %>
      <%= 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_save)) %></p>
<% end %>

<% end %>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/repositories/committers.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/repositories/committers.html.erb