From d35102b88c1ace6d36258b3df26f16e3921b77ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Wed, 21 Aug 2019 13:08:08 +0200 Subject: [PATCH] Missing icon in administration --- after_init.rb | 2 +- assets/stylesheets/custom_workflows.css | 3 +- assets/stylesheets/style.css | 56 ------------------------- 3 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 assets/stylesheets/style.css diff --git a/after_init.rb b/after_init.rb index 3d9c552..f84fe05 100644 --- a/after_init.rb +++ b/after_init.rb @@ -27,7 +27,7 @@ def custom_workflows_init # Administration menu extension Redmine::MenuManager.map :admin_menu do |menu| menu.push :custom_workflows, { controller: 'custom_workflows', action: 'index'}, - caption: :label_custom_workflow_plural, html: { class: 'icon icon-custom-workflows'} + caption: :label_custom_workflow_plural, html: { class: 'icon icon-workflow workflows'} end end diff --git a/assets/stylesheets/custom_workflows.css b/assets/stylesheets/custom_workflows.css index 2b41b2f..a4674bd 100644 --- a/assets/stylesheets/custom_workflows.css +++ b/assets/stylesheets/custom_workflows.css @@ -60,5 +60,4 @@ table.list.custom-workflows tr.disabled { .icon-export { background-image: url(../images/export.png); } .icon-import { background-image: url(../images/import.png); } .icon-active { background-image: url(../images/active.png); } -.icon-inactive { background-image: url(../images/inactive.png); } -.icon-custom-workflows { background-image: url(../../../images/ticket_go.png); } \ No newline at end of file +.icon-inactive { background-image: url(../images/inactive.png); } \ No newline at end of file diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css deleted file mode 100644 index cdc5a8b..0000000 --- a/assets/stylesheets/style.css +++ /dev/null @@ -1,56 +0,0 @@ -#admin-menu a.custom-workflows { - background-image: url(../../../images/ticket_go.png); -} - -#tab-content-custom_workflows .disabled { - color: silver; -} - -table.list.custom-workflows td { - vertical-align: middle; -} - -table.list.custom-workflows td.description { - text-align: left; - width: 40%; -} - -table.list.custom-workflows td.buttons { - white-space: normal; - width: 10%; - text-align: left; -} - -table.list.custom-workflows tr.disabled { - color: silver; -} - -#custom_workflow_description, #custom_workflow_name { - width: 98%; -} - -.custom_workflow_script { - width: 98%; - font-size: 11px; -} - -#custom_workflow_enabled_projects ul { - max-height: 200px; - overflow-y: auto; -} - -.icon-export { - background-image: url(../images/export.png); -} - -.icon-import { - background-image: url(../images/import.png); -} - -.icon-active { - background-image: url(../images/active.png); -} - -.icon-inactive { - background-image: url(../images/inactive.png); -}