##// END OF EJS Templates
replace tabs to spaces at app/views/projects/settings/_repositories.html.erb...
Toshi MARUYAMA -
r8586:30579e6619e8
parent child
Show More
@@ -1,24 +1,24
1 <% if @project.repositories.any? %>
1 <% if @project.repositories.any? %>
2 <table class="list">
2 <table class="list">
3 <thead>
3 <thead>
4 <tr>
4 <tr>
5 <th><%= l(:label_scm) %></th>
5 <th><%= l(:label_scm) %></th>
6 <th><%= l(:field_identifier) %></th>
6 <th><%= l(:field_identifier) %></th>
7 <th><%= l(:field_repository_is_default) %></th>
7 <th><%= l(:field_repository_is_default) %></th>
8 <th><%= l(:label_repository) %></th>
8 <th><%= l(:label_repository) %></th>
9 <th></th>
9 <th></th>
10 </tr>
10 </tr>
11 </thead>
11 </thead>
12 <tbody>
12 <tbody>
13 <% @project.repositories.sort.each do |repository| %>
13 <% @project.repositories.sort.each do |repository| %>
14 <tr class="<%= cycle 'odd', 'even' %>">
14 <tr class="<%= cycle 'odd', 'even' %>">
15 <td><%=h repository.scm_name %></td>
15 <td><%=h repository.scm_name %></td>
16 <td><%=h repository.identifier %></td>
16 <td><%=h repository.identifier %></td>
17 <td align="center"><%= checked_image repository.is_default? %></td>
17 <td align="center"><%= checked_image repository.is_default? %></td>
18 <td><%=h repository.url %></td>
18 <td><%=h repository.url %></td>
19 <td class="buttons">
19 <td class="buttons">
20 <% if User.current.allowed_to?(:manage_repository, @project) %>
20 <% if User.current.allowed_to?(:manage_repository, @project) %>
21 <%= link_to(l(:label_user_plural), committers_repository_path(repository),
21 <%= link_to(l(:label_user_plural), committers_repository_path(repository),
22 :class => 'icon icon-user') %>
22 :class => 'icon icon-user') %>
23 <%= link_to(l(:button_edit), edit_repository_path(repository),
23 <%= link_to(l(:button_edit), edit_repository_path(repository),
24 :class => 'icon icon-edit') %>
24 :class => 'icon icon-edit') %>
@@ -26,9 +26,9
26 :confirm => l(:text_are_you_sure),
26 :confirm => l(:text_are_you_sure),
27 :method => :delete,
27 :method => :delete,
28 :class => 'icon icon-del') %>
28 :class => 'icon icon-del') %>
29 <% end %>
29 <% end %>
30 </td>
30 </td>
31 </tr>
31 </tr>
32 <% end %>
32 <% end %>
33 </tbody>
33 </tbody>
34 </table>
34 </table>
General Comments 0
You need to be logged in to leave comments. Login now