Revert "Bug 12093: Add CSS classes to item statuses in detail view"

This reverts commit 4d50a8d121.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2020-06-18 13:03:10 +00:00
parent 7727611e9d
commit c378bfa352
1 changed files with 17 additions and 19 deletions

View File

@ -33,9 +33,9 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Catalog &rsaquo;
[% IF ( unknownbiblionumber ) %]
<span class="unknownrecord">Unknown record</span>
Unknown record
[% ELSE %]
<span class="titledetails">Details for [% INCLUDE 'biblio-title-head.inc' %]</span>
Details for [% INCLUDE 'biblio-title-head.inc' %]
[% END %]
</title>
[% INCLUDE 'doc-head-close.inc' %]
@ -48,9 +48,9 @@
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
[% IF ( unknownbiblionumber ) %]
<span class="unknownrecord">Unknown record</span>
Unknown record
[% ELSE %]
<span class="titledetails">Details for <i>[% INCLUDE 'biblio-title.inc' %]</i></span>
Details for <i>[% INCLUDE 'biblio-title.inc' %]</i>
[% END %]
</div>
@ -71,9 +71,8 @@
[% INCLUDE 'cat-toolbar.inc' %]
[% IF decoding_error %]
<div>
<span class="biberror">
There is an error with this bibliographic record, the view may be degraded.</span>
<span class="error"><br/> Error: [% decoding_error | html %]</span>
There is an error with this bibliographic record, the view may be degraded.
<br/> Error: [% decoding_error | html %]
</div>
[% END %]
[% IF ( ocoins ) %]
@ -269,12 +268,12 @@
[% IF !noItemTypeImages && item.imageurl %]
<img src="[% item.imageurl | html %]" alt="[% item.translated_description | html %]" title="[% item.translated_description | html %]" />
[% END %]
<span class="itypedesc">[% item.translated_description | html %]</span>
[% item.translated_description | html %]
</td>
[% END %]
<td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
<td class="homebranch">
<span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
[% Branches.GetName(item.homebranch) | html %]
<span class="shelvingloc">
<!--
If permanent location is defined, show description or code and display current location in parentheses. If not, display current location.
@ -374,27 +373,26 @@ Note that permanent location is a code, and location may be an authval.
[% END %]
[% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
<span class="noteforloan">Not for loan
Not for loan
[% IF ( item.notforloanvalue ) %]
<span class="reason">([% item.notforloanvalue | html %])</span>
([% item.notforloanvalue | html %])
[% END %]
</span>
[% END %]
[% SET hold = item.first_hold %]
[% IF hold %]
[% IF hold.waitingdate %]
<span class="waitingat">Waiting at [% Branches.GetName( hold.branchcode ) | html %] since [% hold.waitingdate | $KohaDates %].</span>
Waiting at [% Branches.GetName( hold.branchcode ) | html %] since [% hold.waitingdate | $KohaDates %].
[% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %]
<span class="heldfor">Hold for:</span>
Hold for:
[% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %]
[% END %]
[% ELSE %]
<span class="holdonitem">There is an item level hold on this item (priority = [% hold.priority | html %]).</span>
There is an item level hold on this item (priority = [% hold.priority | html %]).
[% END %]
[% END %]
[% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || hold ) %]
<span class="available">Available</span>
Available
[% END %]
[% IF ( item.restricted ) %]
@ -530,7 +528,7 @@ Note that permanent location is a code, and location may be an authval.
[% IF (otheritemloop.size) %]
[% PROCESS items_table tab="otherholdings" items=otheritemloop %]
[% ELSE %]
<span class="nootheritems">No other items.</span>
No other items.
[% END %]
</div>
[% END %]
@ -698,7 +696,7 @@ Note that permanent location is a code, and location may be an authval.
</tbody>
</table>
[% ELSE %]
<span class="noorder">There is no order for this bibliographic record.</span>
There is no order for this bibliographic record.
[% END %]
</div>
[% END %]
@ -809,7 +807,7 @@ Note that permanent location is a code, and location may be an authval.
[% END %]
</ul>
[% ELSE # - No image passed JavaScript takes care %]
<span class="noimagesuploaded">No images have been uploaded for this bibliographic record yet.</span>
No images have been uploaded for this bibliographic record yet.
[% END %]
[% IF ( CAN_user_tools_upload_local_cover_images ) %]
<p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&amp;filetype=image"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>