diff options
Diffstat (limited to 'app/views/wiki/index.html.erb')
-rw-r--r-- | app/views/wiki/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/index.html.erb b/app/views/wiki/index.html.erb index 3c7f55dab..0a44639fe 100644 --- a/app/views/wiki/index.html.erb +++ b/app/views/wiki/index.html.erb @@ -1,10 +1,10 @@ <div class="contextual"> <% if User.current.allowed_to?(:edit_wiki_pages, @project) %> -<%= link_to l(:label_wiki_page_new), new_project_wiki_page_path(@project), :remote => true, :class => 'icon icon-add' %> +<%= link_to icon_with_label('add', l(:label_wiki_page_new)), new_project_wiki_page_path(@project), :remote => true, :class => 'icon icon-add' %> <% 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> |