Patch #670 » re-show-issue-links-at-bottom.patch
| app/views/timelog/details.rhtml (working copy) | ||
|---|---|---|
| 16 | 16 |
<%= sort_header_tag('user_id', :caption => l(:label_member)) %>
|
| 17 | 17 |
<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %>
|
| 18 | 18 |
<%= sort_header_tag('issue_id', :caption => l(:label_issue)) %>
|
| 19 |
<th>Issue Name</th> |
|
| 19 | 20 |
<th><%= l(:field_comments) %></th> |
| 20 | 21 |
<%= sort_header_tag('hours', :caption => l(:field_hours)) %>
|
| 21 | 22 |
<th></th> |
| ... | ... | |
| 36 | 37 |
</div> |
| 37 | 38 |
<% end %> |
| 38 | 39 |
</td> |
| 40 |
<td><%=h truncate entry.issue.subject, 50 %></td> |
|
| 39 | 41 |
<td><%=h entry.comments %></td> |
| 40 | 42 |
<td align="center"><strong><%= entry.hours %></strong></td> |
| 41 | 43 |
<td align="center"><%= link_to_if_authorized(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => "icon icon-edit") if entry.user_id == @owner_id %></td>
|
| ... | ... | |
| 48 | 50 |
<%= l(:label_export_to) %> |
| 49 | 51 |
<%= link_to 'CSV', params.update(:export => 'csv'), :class => 'icon icon-csv' %> |
| 50 | 52 |
</div> |
| 51 |
<% end %> |
|
| 53 |
<% end %> |
|
| app/views/issues/_links.rhtml (revision 0) | ||
|---|---|---|
| 1 | ||
| 2 |
<%= show_and_goto_link(l(:button_update), 'update', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) if authorize_for('issues', '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_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => issue }, :class => 'icon icon-copy' %>
|
|
| 6 |
<%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => issue }, :class => 'icon icon-move' %>
|
|
| 7 |
<%= 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' %>
|
|
| app/views/issues/show.rhtml (working copy) | ||
|---|---|---|
| 1 | 1 |
<div class="contextual"> |
| 2 |
<%= show_and_goto_link(l(:button_update), 'update', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) if authorize_for('issues', '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_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
|
|
| 6 |
<%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %>
|
|
| 7 |
<%= 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' %>
|
|
| 2 |
<%= render :partial => "links", :locals => {:issue => @issue} %>
|
|
| 8 | 3 |
</div> |
| 9 | 4 | |
| 10 | 5 |
<h2><%= @issue.tracker.name %> #<%= @issue.id %></h2> |
| ... | ... | |
| 96 | 91 |
<% end %> |
| 97 | 92 | |
| 98 | 93 |
<div class="contextual"> |
| 94 |
<%= render :partial => "links", :locals => {:issue => @issue} %>
|
|
| 95 |
| |
|
| 99 | 96 |
<%= l(:label_export_to) %><%= link_to 'PDF', {:format => 'pdf'}, :class => 'icon icon-pdf' %>
|
| 100 | 97 |
</div> |
| 101 | 98 |
|