##// END OF EJS Templates
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
Jean-Philippe Lang -
r686:b1cafef07a1b
parent child
Show More
@@ -1,5 +1,9
1 <div class="contextual">
1 <div class="contextual">
2 <%= l(:label_export_to) %><%= link_to 'PDF', {:action => 'export_pdf', :id => @issue}, :class => 'icon icon-pdf' %>
2 <%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :class => 'icon icon-edit' %>
3 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %>
4 <%= watcher_tag(@issue, User.current) %>
5 <%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'icon icon-move' %>
6 <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
3 </div>
7 </div>
4
8
5 <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%=h @issue.subject %></h2>
9 <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%=h @issue.subject %></h2>
@@ -53,14 +57,8 end %>
53
57
54 <b><%=l(:field_description)%> :</b><br /><br />
58 <b><%=l(:field_description)%> :</b><br /><br />
55 <%= textilizable @issue.description, :attachments => @issue.attachments %>
59 <%= textilizable @issue.description, :attachments => @issue.attachments %>
56 <br />
57
60
58 <div class="contextual">
61 <div class="contextual">
59 <%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :class => 'icon icon-edit' %>
60 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %>
61 <%= watcher_tag(@issue, User.current) %>
62 <%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'icon icon-move' %>
63 <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
64 </div>
62 </div>
65
63
66 <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %>
64 <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %>
@@ -72,7 +70,6 end %>
72 <%= submit_tag l(:button_change) %>
70 <%= submit_tag l(:button_change) %>
73 <% end %>
71 <% end %>
74 <% end %>
72 <% end %>
75 &nbsp;
76 </div>
73 </div>
77
74
78 <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %>
75 <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %>
@@ -107,3 +104,8 end %>
107 <% end %>
104 <% end %>
108 </div>
105 </div>
109 <% end %>
106 <% end %>
107
108 <div class="contextual">
109 <%= l(:label_export_to) %><%= link_to 'PDF', {:action => 'export_pdf', :id => @issue}, :class => 'icon icon-pdf' %>
110 </div>
111 &nbsp;
General Comments 0
You need to be logged in to leave comments. Login now