|
Lines 185-190
Link Here
|
| 185 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
185 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
| 186 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
186 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
| 187 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
187 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
|
|
188 |
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %] |
| 188 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
189 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
| 189 |
[% IF ( LocalCoverImages ) %] |
190 |
[% IF ( LocalCoverImages ) %] |
| 190 |
[% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %] |
191 |
[% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %] |
|
Lines 695-700
Note that permanent location is a code, and location may be an authval.
Link Here
|
| 695 |
</div> |
696 |
</div> |
| 696 |
[% END %] |
697 |
[% END %] |
| 697 |
|
698 |
|
|
|
699 |
[% IF suggestions.count %] |
| 700 |
<div id="suggestion_details"> |
| 701 |
<table id="suggestions" class="sorted"> |
| 702 |
<thead> |
| 703 |
<tr> |
| 704 |
<th class="NoSort"> </th> |
| 705 |
<th class="anti-the">Suggestion</th> |
| 706 |
<th>Suggested by - on</th> |
| 707 |
<th>Managed by - on</th> |
| 708 |
<th>Last modification by - on</th> |
| 709 |
<th>Library</th> |
| 710 |
<th>Fund</th> |
| 711 |
<th>Status</th> |
| 712 |
</tr> |
| 713 |
</thead> |
| 714 |
<tbody> |
| 715 |
[% FOREACH suggestion IN suggestions %] |
| 716 |
<tr> |
| 717 |
<td>[% suggestion.suggestionid | html %]</td> |
| 718 |
<td> |
| 719 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% suggestion.suggestionid | uri %]&op=show" title="suggestion" > |
| 720 |
[% suggestion.title | html %][% IF ( suggestion.author ) %], by [% suggestion.author | html %][% END %]</a> |
| 721 |
<br /> |
| 722 |
[% IF ( suggestion.copyrightdate ) %]© [% suggestion.copyrightdate | html %] [% END %] |
| 723 |
[% IF ( suggestion.volumedesc ) %]; Volume:<i>[% suggestion.volumedesc | html %]</i> [% END %] |
| 724 |
[% IF ( suggestion.isbn ) %]; ISBN:<i>[% suggestion.isbn | html %]</i> [% END %][% IF ( suggestion.publishercode ) %]; Published by [% suggestion.publishercode | html %] [% END %][% IF ( suggestion.publicationyear ) %] in <i>[% suggestion.publicationyear | html %]</i> [% END %][% IF ( suggestion.place ) %] in <i>[% suggestion.place | html %]</i> [% END %][% IF ( suggestion.collectiontitle ) %]; [% suggestion.collectiontitle | html %] [% END %][% IF ( suggestion.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 0 ) | html %] [% END %]<br />[% IF ( suggestion.note ) %]<div class="note"><i class="fa fa-comment"></i> [% suggestion.note | html %]</div>[% END %] |
| 725 |
[% IF suggestion.archived %]<br /><i class="fa fa-archive"> Archived[% END %] |
| 726 |
</td> |
| 727 |
<td> |
| 728 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.suggestedby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.suggester %]</a> |
| 729 |
[% IF suggestion.suggesteddate %] - [% suggestion.suggesteddate | $KohaDates %][% END %] |
| 730 |
</td> |
| 731 |
<td> |
| 732 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.managedby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.manager %]</a> |
| 733 |
[% IF suggestion.manageddate %] - [% suggestion.manageddate | $KohaDates %][% END %] |
| 734 |
</td> |
| 735 |
<td> |
| 736 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestion.lastmodificationby | uri %]">[% INCLUDE 'patron-title.inc' patron => suggestion.last_modifier %]</a> |
| 737 |
[% IF suggestion.lastmodificationdate %] - [% suggestion.lastmodificationdate | $KohaDates %][% END %] |
| 738 |
</td> |
| 739 |
<td> |
| 740 |
[% Branches.GetName( suggestion.branchcode ) | html %] |
| 741 |
</td> |
| 742 |
<td> |
| 743 |
[% suggestion.fund.budget_name | html %] |
| 744 |
</td> |
| 745 |
<td> |
| 746 |
[% IF suggestion.STATUS == 'ASKED' %]Pending |
| 747 |
[% ELSIF suggestion.STATUS == 'ACCEPTED' %]Accepted |
| 748 |
[% ELSIF suggestion.STATUS == 'ORDERED' %]Ordered |
| 749 |
[% ELSIF suggestion.STATUS == 'REJECTED' %]Rejected |
| 750 |
[% ELSIF suggestion.STATUS == 'CHECKED' %]Checked |
| 751 |
[% ELSIF suggestion.STATUS == 'AVAILABLE' %]Available |
| 752 |
[% ELSIF AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) %] |
| 753 |
[% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) | html %] |
| 754 |
[% ELSE %]Status unknown |
| 755 |
[% END %] |
| 756 |
[% IF suggestion.reason %] |
| 757 |
<br />([% suggestion.reason | html %]) |
| 758 |
[% END %] |
| 759 |
</td> |
| 760 |
</tr> |
| 761 |
[% END %] |
| 762 |
</tbody> |
| 763 |
</table> |
| 764 |
</div> |
| 765 |
[% END %] |
| 766 |
|
| 698 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
767 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
| 699 |
<div id="editions"><h4>Editions</h4> |
768 |
<div id="editions"><h4>Editions</h4> |
| 700 |
<table> |
769 |
<table> |
|
Lines 1065-1070
Note that permanent location is a code, and location may be an authval.
Link Here
|
| 1065 |
] |
1134 |
] |
| 1066 |
}, columns_settings); |
1135 |
}, columns_settings); |
| 1067 |
[% END %] |
1136 |
[% END %] |
|
|
1137 |
|
| 1138 |
[% IF suggestions.count %] |
| 1139 |
$(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 1140 |
"aoColumnDefs": [ |
| 1141 |
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, |
| 1142 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
| 1143 |
], |
| 1144 |
"sPaginationType": "full" |
| 1145 |
})); |
| 1146 |
[% END %] |
| 1068 |
}); |
1147 |
}); |
| 1069 |
</script> |
1148 |
</script> |
| 1070 |
[% END %] |
1149 |
[% END %] |
| 1071 |
- |
|
|