From 22a764690f88f570f285aaa89d2fbd6e20bb1f0f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Aug 2011 11:33:59 -0400 Subject: [PATCH] Follow up fix for Bug 2534 - Viewing items table on item edit screen requires horizontal scrolling Content-Type: text/plain; charset="utf-8" This patch doesn't eliminate horizontal scrolling, but simplifies the situation: - The left-hand sidebar has been replaced with a (non-standard) horizontal list of links. - The "overflow:scroll" style has been removed from the table of items. Having overflow set meant that it was often necessary to scroll twice to reach data in the table: once using the scrollbars on the table and again using the page's scrollbars. --- .../intranet-tmpl/prog/en/css/staff-global.css | 3 - .../prog/en/modules/cataloguing/additem.tt | 40 +++++++++++++++++--- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 817f9ed..5ed91ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1953,9 +1953,6 @@ img.spinner { vertical-align: middle; padding-right: 0.3em; } -#cataloguing_additem_itemlist div { - overflow : scroll; -} ul.budget_hierarchy { margin-left: 0px; padding-left: 0px; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index b000d85..f52e874 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -178,11 +178,43 @@ function set_to_today(id, force) { › Items -
+
-
+

View: +Normal + +[% IF ( can_view_MARC ) %] +| MARC +[% END %] + +[% IF ( can_view_labeledMARC ) %] +| Labeled MARC +[% END %] + +[% IF ( can_view_ISBD ) %] +| ISBD +[% END %] + +| Items + +[% IF ( CAN_user_reserveforothers ) %] +| Holds +[% END %] + +[% IF ( subscriptionsnumber ) %] +| Subscription(s) +[% END %] + +[% IF ( issuehistoryview ) %] +| Checkout history +[% END %] + +[% IF ( CAN_user_tools_view_system_logs ) %] +| Modification log[% END %] +

+

Items for [% title |html %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %])

@@ -276,8 +308,4 @@ function set_to_today(id, force) {
-
-[% INCLUDE 'biblio-view-menu.inc' %] -
-
[% INCLUDE 'intranet-bottom.inc' %] -- 1.7.3