annotate .svn/pristine/31/31dde3fcb99bae1f1bf825ebba05c5ceb4525424.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 <div class="contextual">
Chris@1296 2 <%= link_to_if_authorized l(:label_query_new), new_project_query_path(:project_id => @project), :class => 'icon icon-add' %>
Chris@1296 3 </div>
Chris@1296 4
Chris@1296 5 <h2><%= l(:label_query_plural) %></h2>
Chris@1296 6
Chris@1296 7 <% if @queries.empty? %>
Chris@1296 8 <p><i><%=l(:label_no_data)%></i></p>
Chris@1296 9 <% else %>
Chris@1296 10 <table class="list">
Chris@1296 11 <% @queries.each do |query| %>
Chris@1296 12 <tr class="<%= cycle('odd', 'even') %>">
Chris@1296 13 <td>
Chris@1296 14 <%= link_to h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
Chris@1296 15 </td>
Chris@1296 16 <td align="right">
Chris@1296 17 <small>
Chris@1296 18 <% if query.editable_by?(User.current) %>
Chris@1296 19 <%= link_to l(:button_edit), edit_query_path(query), :class => 'icon icon-edit' %>
Chris@1296 20 <%= delete_link query_path(query) %>
Chris@1296 21 </small>
Chris@1296 22 <% end %>
Chris@1296 23 </td>
Chris@1296 24 </tr>
Chris@1296 25 <% end %>
Chris@1296 26 </table>
Chris@1296 27 <% end %>