Bugzilla – Attachment 78336 Details for
Bug 20044
Switch single-column templates to Bootstrap grid: Cataloging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20044: Switch single-column templates to Bootstrap grid: Cataloging
Bug-20044-Switch-single-column-templates-to-Bootst.patch (text/plain), 5.90 KB, created by
Owen Leonard
on 2018-08-31 16:23:00 UTC
(
hide
)
Description:
Bug 20044: Switch single-column templates to Bootstrap grid: Cataloging
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-08-31 16:23:00 UTC
Size:
5.90 KB
patch
obsolete
>From c920e394270ea10d0b8d623e2ec32ed3b947e730 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 19 Jan 2018 15:10:18 +0000 >Subject: [PATCH] Bug 20044: Switch single-column templates to Bootstrap grid: > Cataloging > >This patch updates several cataloging module templates to use the >Bootstrap grid. > >- cataloguing/addbooks.tt - Cataloging - The main page and the > cataloging search results page should look correct. > >- cataloguing/addbiblio.tt - Cataloging -> New record - The record edit > page should look correct. > >- cataloguing/merge.tt - Cataloging -> Search -> Select two records to > merge. The merge reference selection page should look correct, as well > as the source/destination selection page. > >- cataloguing/moveitem.tt - Catalog -> Search -> View record -> Edit -> > Attach item. The barcode submit form and confirmation screens should > look correct. > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 9 +++------ > .../intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt | 7 +++---- > .../intranet-tmpl/prog/en/modules/cataloguing/merge.tt | 15 ++++++--------- > .../intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 11 +++++++++-- > 4 files changed, 21 insertions(+), 21 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 7eb4402..45dc05d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -414,11 +414,9 @@ function Changefwk() { > > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › [% IF ( biblionumber ) %]Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %]</div> > >-<div id="doc" class="yui-t7"> >- >-<div id="bd"> >- <div id="yui-main"> >- <div class="yui-g"> >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1"> > > <h1> > [% IF ( biblionumber ) %]Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %]) >@@ -743,6 +741,5 @@ function Changefwk() { > > </div> > </div> >-</div> > > [% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt >index ce3bf76..5955f93 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt >@@ -12,10 +12,9 @@ > > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Cataloging</div> > >-<div id="doc" class="yui-t7"> >- >- <div id="bd"> >- <div id="yui-main"> >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> > > [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] > <div id="toolbar" class="btn-toolbar"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >index a1f8482..d7d378a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >@@ -19,11 +19,9 @@ div#result { margin-top: 1em; } > [% INCLUDE 'cataloging-search.inc' %] > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › Merging records</div> > >-<div id="doc" class="yui-t7"> >- >-<div id="bd"> >- <div id="yui-main"> >- >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> > > <h1>Merging records</h1> > [% IF ( result ) %] >@@ -158,12 +156,12 @@ div#result { margin-top: 1em; } > <form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post" onsubmit="return mergeformsubmit()"> > > <div class="yui-g"> >-<div class="yui-u first"> >+<div class="col-sm-6"> > [% PROCESS mergesource sourcerecords=records %] > </div> >-<div class="yui-u"> >+<div class="col-sm-6"> > [% PROCESS mergetarget %] >-</div> <!-- .yui-u --> >+</div> <!-- .col-sm-6 --> > > <input type="hidden" name="ref_biblionumber" value="[% ref_biblionumber | html %]" /> > [% FOREACH record IN records %] >@@ -185,7 +183,6 @@ div#result { margin-top: 1em; } > > </div> > </div> >-</div> > > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/merge-record.js") | $raw %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >index cfff592..b5470f4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >@@ -1,12 +1,15 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Attach an item to [% bibliotitle | html %]</title> >+<title>Koha › Cataloging › Attach an item to [% bibliotitle | html %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > <body id="catalog_moveitem" class="catalog"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › Attach an item to <i>[% bibliotitle | html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle | html %][% END %]</i></div> >-<div id="doc" class="yui-t7"> >+ >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> > > [% BLOCK actions %] > [% IF ( BiblioDefaultViewmarc ) %] >@@ -90,4 +93,8 @@ > [% END %] > [% END %] > [% END %] >+ >+ </div> >+</div> >+ > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.1.4
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 20044
:
70751
|
71707
|
71909
|
72741
|
72743
|
73489
|
73490
|
77216
|
77217
|
77396
|
77451
|
77473
|
77555
|
77556
|
77557
|
77558
|
78336
|
78337
|
78338
|
78339
|
80433
|
80434
|
80435
|
80436