##// END OF EJS Templates
remove trailing white-spaces from app/views/queries/index.html.erb...
Toshi MARUYAMA -
r7153:2be580eb6347
parent child
Show More
@@ -1,27 +1,27
1 <div class="contextual">
1 <div class="contextual">
2 <%= link_to_if_authorized l(:label_query_new), {:controller => 'queries', :action => 'new', :project_id => @project}, :class => 'icon icon-add' %>
2 <%= link_to_if_authorized l(:label_query_new), {:controller => 'queries', :action => 'new', :project_id => @project}, :class => 'icon icon-add' %>
3 </div>
3 </div>
4
4
5 <h2><%= l(:label_query_plural) %></h2>
5 <h2><%= l(:label_query_plural) %></h2>
6
6
7 <% if @queries.empty? %>
7 <% if @queries.empty? %>
8 <p><i><%=l(:label_no_data)%></i></p>
8 <p><i><%=l(:label_no_data)%></i></p>
9 <% else %>
9 <% else %>
10 <table class="list">
10 <table class="list">
11 <% @queries.each do |query| %>
11 <% @queries.each do |query| %>
12 <tr class="<%= cycle('odd', 'even') %>">
12 <tr class="<%= cycle('odd', 'even') %>">
13 <td>
13 <td>
14 <%= link_to h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
14 <%= link_to h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
15 </td>
15 </td>
16 <td align="right">
16 <td align="right">
17 <small>
17 <small>
18 <% if query.editable_by?(User.current) %>
18 <% if query.editable_by?(User.current) %>
19 <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => query}, :class => 'icon icon-edit' %>
19 <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => query}, :class => 'icon icon-edit' %>
20 <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
20 <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
21 </small>
21 </small>
22 <% end %>
22 <% end %>
23 </td>
23 </td>
24 </tr>
24 </tr>
25 <% end %>
25 <% end %>
26 </table>
26 </table>
27 <% end %>
27 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now