From 629bd2f81343d1ba3650258e0bbe0c3fedc68554 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 15 Feb 2013 11:31:46 -0500 Subject: [PATCH] Bug 9624 - Replace YUI button on reports dictionary page with Bootstrap This patch removes the toolbar include file used by the reports dictionary and embeds the toolbar markup directly in the main template since it's the only instance where it is used. Toolbar is converted to use Bootstrap, replacing YUI button code with Bootstrap markup. To test, view the reports dictionary and confirm that the "New definition" button looks correct and works correctly. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Work as described. No errors. Signed-off-by: Katrin Fischer Works nicely, no problems found. Signed-off-by: Jared Camins-Esakov --- .../prog/en/includes/dictionary-toolbar.inc | 21 ------------------- .../prog/en/modules/reports/dictionary.tt | 6 +++++- 2 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc deleted file mode 100644 index 4d213a16d6..0000000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc +++ /dev/null @@ -1,21 +0,0 @@ -
- -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 2e15834bbc..20c56b7fba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -22,7 +22,11 @@
[% IF ( start_dictionary ) %] -[% INCLUDE 'dictionary-toolbar.inc' %] + [% END %]

Dictionary

[% IF ( start_dictionary ) %] -- 2.39.5