Bug 13022 [QA Followup] - Highlight the results with inaccurate status, add explanation when mouse hovers over.
Bug 13022 [QA Followup] - Revert changes in whitespace back to original for items count lines Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
parent
7ab9d7d91d
commit
df2bab8f61
2 changed files with 17 additions and 2 deletions
|
@ -1043,6 +1043,10 @@ div.help {
|
|||
color : #990000;
|
||||
}
|
||||
|
||||
.inaccurate-item-statuses {
|
||||
color : #990000;
|
||||
}
|
||||
|
||||
.circmessage li {
|
||||
list-style : url(../../img/arrow-bullet.gif);
|
||||
margin-bottom : .2em;
|
||||
|
|
|
@ -472,6 +472,7 @@ var holdForPatron = function () {
|
|||
<th>Location</th>
|
||||
</tr>
|
||||
<!-- Actual Search Results -->
|
||||
[% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
|
||||
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
|
||||
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
|
||||
[% IF ( AmazonCoverImages || LocalCoverImages ) %]
|
||||
|
@ -575,8 +576,18 @@ var holdForPatron = function () {
|
|||
</td>
|
||||
|
||||
<td><div class="availability">
|
||||
[% IF ( SEARCH_RESULT.items_count ) %]<strong>[% SEARCH_RESULT.items_count %]
|
||||
[% IF ( SEARCH_RESULT.itemsplural ) %]items[% ELSE %]item[% END %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]</strong>
|
||||
[% IF ( SEARCH_RESULT.items_count ) %]
|
||||
<strong>
|
||||
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
|
||||
<span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
|
||||
[% END %]
|
||||
|
||||
[% SEARCH_RESULT.items_count %] [% IF ( SEARCH_RESULT.itemsplural ) %]items[% ELSE %]item[% END %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]
|
||||
|
||||
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
|
||||
</span>
|
||||
[% END %]
|
||||
</strong>
|
||||
|
||||
[% IF ( SEARCH_RESULT.availablecount ) %]
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue