diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-05 20:07:31 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-05 20:07:31 +0000 |
commit | 4bc9306d4b41554a667c75828dfa3088f8e3d414 (patch) | |
tree | ac487cc0d11821a4a0c3f2c09c6c9ff407d8c60f /app/views | |
parent | fe5e8da96a9caa1b9954af8ed756fc1d1bfd2543 (diff) | |
download | redmine-4bc9306d4b41554a667c75828dfa3088f8e3d414.tar.gz redmine-4bc9306d4b41554a667c75828dfa3088f8e3d414.zip |
Replaces edit icons in version page with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23019 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/versions/show.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index 88eb4b841..e97314f94 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -1,6 +1,6 @@ <div class="contextual"> -<%= link_to(l(:button_edit), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %> -<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %> +<%= link_to(icon_with_label('edit', l(:button_edit)), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %> +<%= link_to_if_authorized(icon_with_label('edit', l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title)), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %> <%= delete_link version_path(@version, :back_url => url_for(:controller => 'versions', :action => 'index', :project_id => @version.project)) if User.current.allowed_to?(:manage_versions, @version.project) %> <%= link_to_new_issue(@version, @project) %> <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %> |