Bugzilla – Attachment 28175 Details for
Bug 7720
Ambiguity in OPAC Details location.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7720 [QA Followup] - Update Bootstrap theme
Bug-7720-QA-Followup---Update-Bootstrap-theme.patch (text/plain), 6.51 KB, created by
Kyle M Hall (khall)
on 2014-05-12 11:37:50 UTC
(
hide
)
Description:
Bug 7720 [QA Followup] - Update Bootstrap theme
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-05-12 11:37:50 UTC
Size:
6.51 KB
patch
obsolete
>From 4739d34e55cd2ad01e26f2a43f2687700cbde8bf Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 12 May 2014 07:37:00 -0400 >Subject: [PATCH] Bug 7720 [QA Followup] - Update Bootstrap theme > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 71 ++++++++++++++++---- > 1 files changed, 57 insertions(+), 14 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 5e39779..c3f38dd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1,5 +1,6 @@ > [% USE Koha %] > [% USE KohaDates %] >+[% USE Branches %] > [% USE AuthorisedValues %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %] >@@ -1127,7 +1128,14 @@ > <thead> > <tr> > [% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %] >- <th id="item_location">Location</th> >+ [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %] >+ <th>Current location</th> >+ [% END %] >+ [% UNLESS ( singleBranchMode ) %] >+ [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] >+ <th>Home library</th> >+ [% END %] >+ [% END %] > [% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %] > <th id="item_callnumber" class="call_no">Call number</th> > [% IF ( itemdata_enumchron ) %]<th id="item_enumchron" class="vol_info">Vol info</th>[% END %] >@@ -1162,21 +1170,56 @@ > [% ITEM_RESULT.description %] > </td> > [% END %] >- <td class="location" property="seller"> >- <link property="itemOffered" href="#record" /> >- <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> >- [% UNLESS ( singleBranchMode ) %] >- <div class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> >- [% IF ( ITEM_RESULT.branchurl ) %] >- <a href="[% ITEM_RESULT.branchurl %]" title="">[% ITEM_RESULT.branchname %]</a> >- [% ELSE %] >- <span title="">[% ITEM_RESULT.branchname %]</span> >- [% END %] >+ [% UNLESS singleBranchMode %] >+ [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] >+ <td class="location" property="seller"> >+ <link property="itemOffered" href="#record" /> >+ <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> >+ <div class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> >+ [% IF ( ITEM_RESULT.branchurl ) %] >+ <a href="[% ITEM_RESULT.branchurl %]" title="">[% ITEM_RESULT.branchname %]</a> >+ [% ELSE %] >+ <span title="">[% ITEM_RESULT.branchname %]</span> >+ [% END %] >+ </div> >+ >+ [% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %] >+ <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> >+ [% END %] >+ > <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div> >- </div> >+ </td> > [% END %] >- <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> >- </td> >+ >+ [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] >+ <td class="location" property="seller"> >+ <link property="itemOffered" href="#record" /> >+ <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> >+ <div class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> >+ [% IF ( ITEM_RESULT.branchurl ) %] >+ [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %] >+ [% IF ( home_branch_url ) %] >+ <a href="[% home_branch_url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) %]</a> >+ [% ELSE %] >+ [% Branches.GetName( ITEM_RESULT.homebranch ) %] >+ [% END %] >+ [% ELSE %] >+ <span title="">[% ITEM_RESULT.branchname %]</span> >+ [% END %] >+ </div> >+ >+ [% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %] >+ <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> >+ [% END %] >+ >+ <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div> >+ </td> >+ [% END %] >+ >+ [% ELSE %] >+ <td class="location"><span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></td> >+ [% END %] >+ > [% IF ( itemdata_ccode ) %] > <td class="collection">[% ITEM_RESULT.ccode %]</td> > [% END %] >-- >1.7.2.5
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 7720
:
8213
|
8215
|
8216
|
8223
|
8224
|
8226
|
8229
|
8230
|
8237
|
8238
|
8243
|
8245
|
8825
|
8868
|
8878
|
9570
|
9762
|
10149
|
11091
|
11092
|
12389
|
13466
|
15237
|
15238
|
15241
|
15247
|
18622
|
19658
|
20217
|
21374
|
21375
|
22155
|
22156
|
28172
|
28173
| 28175