Bugzilla – Attachment 45150 Details for
Bug 15211
Label/patron card creators need to have Tools sidebar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15211: adding Tools section sidebar to label creator
Bug-15211-adding-Tools-section-sidebar-to-label-cr.patch (text/plain), 6.47 KB, created by
Jonathan Druart
on 2015-11-25 16:05:16 UTC
(
hide
)
Description:
Bug 15211: adding Tools section sidebar to label creator
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-11-25 16:05:16 UTC
Size:
6.47 KB
patch
obsolete
>From 807bfba908ba91cd305c2d079cf270c56fbd8740 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Thu, 19 Nov 2015 11:34:41 +1300 >Subject: [PATCH] Bug 15211: adding Tools section sidebar to label creator > >The label creator had a very sad sidebar, it needed to have the Tools area sidebar on it. > >To test: > >Click through all "New" pages, verify that the sidebar appears >Click through all "Manage" pages, verify that the sidebar appears. > >Also verify that "Label creator" is bolded in the toolbar while the label creator is active. > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Sidebar displayed Ok. No errors > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 6 +++++- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt | 5 ++++- > .../intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt | 3 +++ > .../intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt | 7 +++++-- > .../intranet-tmpl/prog/en/modules/labels/label-edit-template.tt | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 3 +++ > 7 files changed, 26 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >index b76f5a7..5fa1219 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -6,7 +6,11 @@ > if ( url.match(/\?(.+)$/) ) { > params = "?" + RegExp.$1; > } >- $('#navmenulist a[href$="/' + path + params + '"]').css('font-weight','bold'); >+ if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) { >+ $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); >+ } else { >+ $('#navmenulist a[href$="/' + path + params + '"]').css('font-weight','bold'); >+ } > }); > //]]> > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >index 362ea8c..596489d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >@@ -158,7 +158,7 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >+ <a href="/cgi-bin/koha/mainpage.pl">Home</a> › > <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › > <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a> › > <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Batches</a> › >@@ -277,5 +277,8 @@ > </div> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >index fbc8372..017af77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >@@ -206,5 +206,8 @@ > </form> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >index 250e39a..03d1a50 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >@@ -109,7 +109,7 @@ > </li> > </ol> > </fieldset> >- >+ > <fieldset class="rows"><legend>Offset:</legend> > <ol> > <li> >@@ -120,7 +120,7 @@ > </li> > </ol> > </fieldset> >- >+ > <fieldset class="rows"><legend>Creep:</legend> > <ol> > <li> >@@ -142,5 +142,8 @@ > </div> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >index 3dacff8..e4fc9f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >@@ -178,5 +178,8 @@ > </form> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >index 3d35baf..4744d9b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >@@ -26,5 +26,8 @@ > </div> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index 6a89aaf..cadf54c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -170,5 +170,8 @@ > </div> > </div> > </div> >+ <div class="yui-b"> >+ [% INCLUDE 'tools-menu.inc' %] >+ </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15211
:
44973
|
44974
|
44975
|
44976
| 45150 |
45151