Merge pull request #49 from HDinger/task/22118-apply-new-icon-styling

[22118] Apply new icon styling (Documents)
pull/6827/head
Oliver Günther 9 years ago
commit 0c69eaf852
  1. 2
      app/views/documents/edit.html.erb
  2. 2
      app/views/documents/new.html.erb
  3. 2
      app/views/documents/show.html.erb
  4. 2
      lib/open_project/documents/engine.rb

@ -34,5 +34,5 @@ See doc/COPYRIGHT.rdoc for more details.
<%= labelled_tabular_form_for @document, url: document_path(@document), method: 'PATCH' do |f| -%> <%= labelled_tabular_form_for @document, url: document_path(@document), method: 'PATCH' do |f| -%>
<%= render partial: "documents/form", locals: { f: 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 %> <% end %>

@ -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| -%> <%= labelled_tabular_form_for @document, url: project_documents_path(@project), html: { multipart: true } do |f| -%>
<%= render :partial => 'documents/form', locals: { f: f } %> <%= render :partial => 'documents/form', locals: { f: f } %>
<%= render :partial => 'attachments/form' %> <%= 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 %> <% end %>

@ -62,7 +62,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="box"> <div class="box">
<p><%= render :partial => 'attachments/form' %></p> <p><%= render :partial => 'attachments/form' %></p>
</div> </div>
<%= 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 %>
<% end %> <% end %>

@ -44,7 +44,7 @@ module OpenProject::Documents
{ controller: '/documents', action: 'index' }, { controller: '/documents', action: 'index' },
param: :project_id, param: :project_id,
caption: :label_document_plural, caption: :label_document_plural,
html: { class: 'icon2 icon-book1' } html: { class: 'icon2 icon-notes' }
project_module :documents do |_map| project_module :documents do |_map|
permission :manage_documents, { permission :manage_documents, {

Loading…
Cancel
Save