Skip to content

Commit

Permalink
Working on svg icons - more updates #12953
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 14, 2024
1 parent ec44fdc commit 273cc8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/context_menus/_issues_tags.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
= l :field_tags
ul
li
= context_menu_link l(:button_add),
= context_menu_link sprite_icon('add', l(:button_add)),
edit_issue_tags_path(ids: @issue_ids, search: params[:search], append: 'true'),
remote: true,
class: 'icon icon-add'
- if @issue_ids.size == 1
li
= context_menu_link l(:button_edit),
= context_menu_link sprite_icon('edit', l(:button_edit)),
edit_issue_tags_path(ids: @issue_ids, search: params[:search]),
remote: true,
class: 'icon icon-edit'
2 changes: 1 addition & 1 deletion app/views/wiki/tag_index.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.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 sprite_icon('add', l(:label_wiki_page_new)), new_project_wiki_page_path(@project), remote: true, class: 'icon icon-add'

h2 = render_wiki_index_title :label_wiki, project: @project, tag: @tag

Expand Down

0 comments on commit 273cc8b

Please sign in to comment.