summaryrefslogtreecommitdiffstats
path: root/app/views/wiki
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-08 17:23:06 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-08 17:23:06 +0000
commitdfc5b2a13bdfaedcb7be9722f19df1e5ce008a81 (patch)
treee877142841712fab35d9c8d3c5c96a740ddfc527 /app/views/wiki
parent00cc5f744086651874e4a4f52774eb406d2f4e01 (diff)
downloadredmine-dfc5b2a13bdfaedcb7be9722f19df1e5ce008a81.tar.gz
redmine-dfc5b2a13bdfaedcb7be9722f19df1e5ce008a81.zip
Replaces various icons with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23039 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r--app/views/wiki/date_index.html.erb2
-rw-r--r--app/views/wiki/diff.html.erb2
-rw-r--r--app/views/wiki/edit.html.erb1
3 files changed, 3 insertions, 2 deletions
diff --git a/app/views/wiki/date_index.html.erb b/app/views/wiki/date_index.html.erb
index b58ae1fcb..ac9e34505 100644
--- a/app/views/wiki/date_index.html.erb
+++ b/app/views/wiki/date_index.html.erb
@@ -4,7 +4,7 @@
<% end %>
<%= watcher_link(@wiki, User.current) %>
<% if User.current.allowed_to?(:manage_wiki, @project) %>
-<%= link_to l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project}, :class => 'icon icon-del' %>
+<%= link_to icon_with_label('del', l(:button_delete)), {:controller => 'wikis', :action => 'destroy', :id => @project}, :class => 'icon icon-del' %>
<% end %>
</div>
diff --git a/app/views/wiki/diff.html.erb b/app/views/wiki/diff.html.erb
index 765e51a0a..dd109ba79 100644
--- a/app/views/wiki/diff.html.erb
+++ b/app/views/wiki/diff.html.erb
@@ -1,5 +1,5 @@
<div class="contextual">
-<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
+<%= link_to(icon_with_label('history', l(:label_history)), {:action => 'history', :id => @page.title},
:class => 'icon icon-history') %>
</div>
diff --git a/app/views/wiki/edit.html.erb b/app/views/wiki/edit.html.erb
index 7e9cf42af..47204c945 100644
--- a/app/views/wiki/edit.html.erb
+++ b/app/views/wiki/edit.html.erb
@@ -41,6 +41,7 @@
<div id="existing-attachments" style="<%= @page.deleted_attachment_ids.blank? ? 'display:none;' : '' %>">
<% @page.attachments.each do |attachment| %>
<span class="existing-attachment">
+ <%= sprite_icon('attachment', size: 12) %>
<%= text_field_tag '', attachment.filename, :class => "icon icon-attachment filename", :disabled => true %>
<label class='inline'>
<%= check_box_tag 'wiki_page[deleted_attachment_ids][]',