Bugzilla – Attachment 88391 Details for
Bug 22751
Switch two-column templates to Bootstrap grid: Patron details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22751: Switch two-column templates to Bootstrap grid: Patron details
Bug-22751-Switch-two-column-templates-to-Bootstrap.patch (text/plain), 3.85 KB, created by
Owen Leonard
on 2019-04-22 18:57:20 UTC
(
hide
)
Description:
Bug 22751: Switch two-column templates to Bootstrap grid: Patron details
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-04-22 18:57:20 UTC
Size:
3.85 KB
patch
obsolete
>From cce7d4aaa38afe42566ddbfca26e07450cee6d48 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 22 Apr 2019 18:50:15 +0000 >Subject: [PATCH] Bug 22751: Switch two-column templates to Bootstrap grid: > Patron details > >This patch updates the patron details page template to use the Bootstrap >grid. > >To test, apply the patch and view the detail page for a patron in the >staff client. Adjust the browser width and confirm that the page adapts >to different sizes. >--- > .../prog/en/modules/members/moremember.tt | 37 ++++++++++++---------- > 1 file changed, 20 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index fc93db3..cb69bba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -33,10 +33,11 @@ > › [% UNLESS blocking_error %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %] > </div> > >- <div id="doc3" class="yui-t2"> >- <div id="bd"> >- <div id="yui-main"> >- <div class="yui-b"> >+ <div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-sm-10 col-sm-push-2"> >+ <main> >+ > > [% INCLUDE 'members-toolbar.inc' %] > >@@ -61,7 +62,7 @@ > </div> > [% END %] > >- <div class="yui-g"> >+ <div class="row"> > > [% IF ( was_renewed ) %] > <div class="dialog message"> >@@ -159,7 +160,7 @@ > [% END %] > [% patron.surname | html %] ([% patron.cardnumber | html %]) > </h3> >- <div class="yui-u first"> >+ <div class="col-sm-6"> > > <div id="patron-information" class="patroninfo-section"> > >@@ -406,9 +407,9 @@ > </div> [% # /div#patron-messaging-prefs %] > [% END %] > >- </div> [% # /div.yui-u.first %] >+ </div> <!-- /.col-sm-6 --> > >- <div class="yui-u"> >+ <div class="col-sm-6"> > <div id="patron-library-details" class="patroninfo-section"> > <div class="patroninfo-heading"> > <h3>Library use</h3> >@@ -662,8 +663,8 @@ > </div> > [% END %] > </div> [% # /div#patron-alternative-contact %] >- </div> [% # /div.yui-u %] >- </div> [% # /div.yui-g %] >+ </div> <!-- /div.col-sm-6 --> >+ </div> <!-- /div.row --> > > <div id="finesholdsissues" class="toptabs"> > <ul> >@@ -809,14 +810,16 @@ > [% INCLUDE 'patron-article-requests.inc' %] > [% END %] > >- </div> [% # /div#finesholdsissues %] >- </div> [% # /div.yui-b %] >- </div> [% # /div#yui-main %] >+ </div> <!-- /div#finesholdsissues --> >+ </main> >+ </div> <!-- /.col-sm-10.col-sm-push-2 --> > >- <div class="yui-b"> >- [% INCLUDE 'circ-menu.inc' %] >- </div> >- </div> [% # /div#bd %] >+ <div class="col-sm-2 col-sm-pull-10"> >+ <aside> >+ [% INCLUDE 'circ-menu.inc' %] >+ </aside> >+ </div> <!-- /.col-sm-2.col-sm-pull-10 --> >+ </div> <!-- /.row --> > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.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 22751
:
88391
|
88572
|
88594