3 [% USE AuthorisedValues %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] › Tags › Tools › Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
10 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
13 <body id="tags_list" class="tools">
14 [% WRAPPER 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
18 [% WRAPPER 'sub-header.inc' %]
19 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
25 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
28 <a href="/cgi-bin/koha/tags/review.pl">Tags</a>
31 <a href="#" aria-current="page">
32 Results for tag <em>[% tag | html %]</em>
39 <div class="main container-fluid">
41 <div class="col-sm-10 col-sm-push-2">
44 <h1>Results for tag <em>[% tag | html %]</em></h1>
47 <h3>Titles tagged with the term <em>[% tag | html %]</em></h3>
55 [% FOREACH title IN titles %]
57 <td>[% INCLUDE 'biblio-title.inc' biblio=title link = 1 %]
58 [% title.author | html %]
59 <p>[% IF ( title.publishercode ) %]- [% title.publishercode | html %]
60 [% IF ( title.place ) %] [% title.place | html %][% END %][% END %]
61 [% IF ( title.pages ) %] - [% title.pages | html %][% IF ( title.size ) %] [% title.size | html %]
64 [% IF ( title.notes ) %]
65 <p>[% title.notes | html %]</p>[% END %]
66 [% IF ( title.TagLoop ) %]<p style="font-size:90%"><strong>Tagged with:</strong> [% FOREACH TagLoo IN title.TagLoop %]
67 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term | uri %]">[% TagLoo.term | html %]</a> <span class="weight">([% TagLoo.weight_total | html %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
71 <td>[% IF ( title.items.count ) %]<ul style="font-size:80%">[% FOREACH item IN title.items %]
73 [% Branches.GetName(item.holdingbranch) | html %]
74 <span class="shelvingloc">
75 [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]
77 [% IF ( item.itemcallnumber ) %]
78 ([% item.itemcallnumber | html %])
81 [% END %]</ul>[% ELSE %]This record has no items.[% END %]
83 <td><form method="post" action="/cgi-bin/koha/tags/list.pl"><input type="hidden" name="op" value="del" /><input type="hidden" name="tag" value="[% tag | html %]" /><input type="hidden" name="tag_id" value="[% title.tag_id | html %]" /><button type="submit" class="delete btn btn-default btn-sm"><i class="fa fa-trash"></i> Remove tag</button></form></td>
88 <div class="dialog message">There are no titles tagged with the term <em>[% tag | html %]</em></div>
93 </div> <!-- /.col-sm-10.col-sm-push-2 -->
95 <div class="col-sm-2 col-sm-pull-10">
98 <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
99 <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
100 <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a></li>
101 <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
103 [% INCLUDE 'tools-menu.inc' %]
105 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
106 </div> <!-- /.row -->
108 [% MACRO jsinclude BLOCK %]
109 [% INCLUDE 'datatables.inc' %]
111 $(document).ready(function() {
112 $(".delete").click(function (event) {
113 $(this).parent().parent().parent().addClass("selected");
114 var answer = confirm(_("Are you sure you want to remove the tag from this title?"));
116 $("tr").removeClass("selected");
117 event.preventDefault();
120 $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
122 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
124 "aaSorting": [[ 0, "asc" ]],
125 "sPaginationType": "full"
131 [% INCLUDE 'intranet-bottom.inc' %]