From 403eb03b10a2da007493fd99733395d174e3bedb Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 20 Nov 2015 11:31:07 +0100 Subject: [PATCH] Update icon font --- lib/assets/stylesheets/reporting_engine/reporting.css.erb | 4 ---- lib/widget/controls/save.rb | 2 +- lib/widget/controls/save_as.rb | 6 +++--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/assets/stylesheets/reporting_engine/reporting.css.erb b/lib/assets/stylesheets/reporting_engine/reporting.css.erb index 23cebac88e..28067048b3 100644 --- a/lib/assets/stylesheets/reporting_engine/reporting.css.erb +++ b/lib/assets/stylesheets/reporting_engine/reporting.css.erb @@ -465,10 +465,6 @@ td:hover .drill_down, th:hover .drill_down { background-image: url(<%= asset_path 'reporting_engine/disk.gif' %>); } -.button .icon-save-as { - background-image: url(<%= asset_path 'reporting_engine/disks.gif' %>); -} - .button .icon-delete { background-image: url(<%= asset_path 'reporting_engine/delete.gif' %>); } diff --git a/lib/widget/controls/save.rb b/lib/widget/controls/save.rb index aa02485c99..ee7d846fc9 100644 --- a/lib/widget/controls/save.rb +++ b/lib/widget/controls/save.rb @@ -23,7 +23,7 @@ class Widget::Controls::Save < Widget::Controls write link_to(l(:button_save), '#', id: 'query-breadcrumb-save', - class: 'button icon-context icon-save1', + class: 'button icon-context icon-save', :"data-target" => url_for(action: 'update', id: @subject.id, set_filter: '1')) end end diff --git a/lib/widget/controls/save_as.rb b/lib/widget/controls/save_as.rb index 792adadb0a..0070a4b799 100644 --- a/lib/widget/controls/save_as.rb +++ b/lib/widget/controls/save_as.rb @@ -21,10 +21,10 @@ class Widget::Controls::SaveAs < Widget::Controls def render if @subject.new_record? link_name = l(:button_save) - icon = 'icon-save1' + icon = 'icon-save' else link_name = l(:button_save_as) - icon = 'icon-save1' + icon = 'icon-save' end button = link_to(link_name, '#', id: 'query-icon-save-as', class: "button icon-context #{icon}") write(button + render_popup) @@ -61,7 +61,7 @@ class Widget::Controls::SaveAs < Widget::Controls save = link_to(l(:button_save), '#', id: 'query-icon-save-button', - class: 'button -highlight icon-context icon-save1', + class: 'button -highlight icon-context icon-save', :"data-target" => url_for(action: 'create', set_filter: '1')) cancel = link_to(l(:button_cancel),