mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-25 09:51:14 +00:00
* Introduces IconsHelper with methods to render SVG icon from a sprite file. * Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)). * Replaces specific icons with new SVG icons. * Temporarily keep all old CSS icon definitions for backard compatibility. git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
<div class="contextual">
|
|
<%= link_to icon_with_label('edit', l(:button_edit)), edit_issue_path(@issue),
|
|
:onclick => 'showAndScrollTo("update", "issue_notes"); return false;',
|
|
:class => 'icon icon-edit ', :accesskey => accesskey(:edit) if @issue.editable? %>
|
|
<%= link_to icon_with_label('time', l(:button_log_time)), new_issue_time_entry_path(@issue),
|
|
:class => 'icon icon-time-add ' if User.current.allowed_to?(:log_time, @project) %>
|
|
<%= watcher_link(@issue, User.current) %>
|
|
<%= link_to icon_with_label('copy', l(:button_copy)), project_copy_issue_path(@project, @issue),
|
|
:class => 'icon icon-copy ' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
|
|
<%= actions_dropdown do %>
|
|
<%= copy_object_url_link(issue_url(@issue, only_path: false)) %>
|
|
<%= link_to icon_with_label('del', l(:button_delete_object, object_name: l(:label_issue).downcase)), issue_path(@issue),
|
|
:data => {:confirm => issues_destroy_confirmation_message(@issue)},
|
|
:method => :delete, :class => 'icon icon-del ' if @issue.deletable? %>
|
|
<% end %>
|
|
</div>
|