diff --git a/app/views/documents/edit.html.erb b/app/views/documents/edit.html.erb index 5cf794b51d..98a9871beb 100644 --- a/app/views/documents/edit.html.erb +++ b/app/views/documents/edit.html.erb @@ -34,5 +34,5 @@ See doc/COPYRIGHT.rdoc for more details. <%= labelled_tabular_form_for @document, url: document_path(@document), method: 'PATCH' do |f| -%> <%= render partial: "documents/form", locals: { f: f } %> - <%= styled_button_tag l(:button_save), class: "-highlight -with-icon icon-yes" %> + <%= styled_button_tag l(:button_save), class: "-highlight -with-icon icon-checkmark" %> <% end %> diff --git a/app/views/documents/new.html.erb b/app/views/documents/new.html.erb index 6b27ba5572..cfbf47f8c2 100644 --- a/app/views/documents/new.html.erb +++ b/app/views/documents/new.html.erb @@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details. <%= labelled_tabular_form_for @document, url: project_documents_path(@project), html: { multipart: true } do |f| -%> <%= render :partial => 'documents/form', locals: { f: f } %> <%= render :partial => 'attachments/form' %> - <%= styled_button_tag l(:button_create), class: "-highlight -with-icon icon-yes" %> + <%= styled_button_tag l(:button_create), class: "-highlight -with-icon icon-checkmark" %> <% end %> diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 4dc3350f27..52d4be58d6 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -62,7 +62,7 @@ See doc/COPYRIGHT.rdoc for more details.

<%= render :partial => 'attachments/form' %>

- <%= styled_button_tag l(:button_add), class: "-highlight -with-icon icon-yes" %> + <%= styled_button_tag l(:button_add), class: "-highlight -with-icon icon-checkmark" %> <% end %> <% end %> diff --git a/lib/open_project/documents/engine.rb b/lib/open_project/documents/engine.rb index 717484e6bc..61e557173f 100644 --- a/lib/open_project/documents/engine.rb +++ b/lib/open_project/documents/engine.rb @@ -44,7 +44,7 @@ module OpenProject::Documents { controller: '/documents', action: 'index' }, param: :project_id, caption: :label_document_plural, - html: { class: 'icon2 icon-book1' } + html: { class: 'icon2 icon-notes' } project_module :documents do |_map| permission :manage_documents, {