Mercurial > hg > soundsoftware-site
comparison .svn/pristine/31/31dde3fcb99bae1f1bf825ebba05c5ceb4525424.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 <div class="contextual"> | |
2 <%= link_to_if_authorized l(:label_query_new), new_project_query_path(:project_id => @project), :class => 'icon icon-add' %> | |
3 </div> | |
4 | |
5 <h2><%= l(:label_query_plural) %></h2> | |
6 | |
7 <% if @queries.empty? %> | |
8 <p><i><%=l(:label_no_data)%></i></p> | |
9 <% else %> | |
10 <table class="list"> | |
11 <% @queries.each do |query| %> | |
12 <tr class="<%= cycle('odd', 'even') %>"> | |
13 <td> | |
14 <%= link_to h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %> | |
15 </td> | |
16 <td align="right"> | |
17 <small> | |
18 <% if query.editable_by?(User.current) %> | |
19 <%= link_to l(:button_edit), edit_query_path(query), :class => 'icon icon-edit' %> | |
20 <%= delete_link query_path(query) %> | |
21 </small> | |
22 <% end %> | |
23 </td> | |
24 </tr> | |
25 <% end %> | |
26 </table> | |
27 <% end %> |