3 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Tools › Tags › [% IF ( do_it ) %]Review › [% ELSE %]Review tags[% END %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
12 <body id="tags_list" class="tools">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/tags/review.pl">Tags</a> › Results for tag <em>[% tag | html %]</em></div>
18 <div class="main container-fluid">
20 <div class="col-sm-10 col-sm-push-2">
24 <h3>Titles tagged with the term <em>[% tag | html %]</em></h3>
32 [% FOREACH title IN titles %]
34 <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=title %]</a>
35 [% title.author | html %]
36 <p>[% IF ( title.publishercode ) %]- [% title.publishercode | html %]
37 [% IF ( title.place ) %] [% title.place | html %][% END %][% END %]
38 [% IF ( title.pages ) %] - [% title.pages | html %][% IF ( title.size ) %] [% title.size | html %]
41 [% IF ( title.notes ) %]
42 <p>[% title.notes | html %]</p>[% END %]
43 [% IF ( title.TagLoop ) %]<p style="font-size:90%"><strong>Tagged with:</strong> [% FOREACH TagLoo IN title.TagLoop %]
44 <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 %]
48 <td>[% IF ( title.items ) %]<ul style="font-size:80%">[% FOREACH item IN title.items %]
50 [% item.branchname | html %]
51 <span class="shelvingloc">
52 [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]
54 [% IF ( item.itemcallnumber ) %]
55 ([% item.itemcallnumber | html %])
58 [% END %]</ul>[% ELSE %]This record has no items.[% END %]
60 <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>
65 <div class="dialog message">There are no titles tagged with the term <em>[% tag | html %]</em></div>
70 </div> <!-- /.col-sm-10.col-sm-push-2 -->
72 <div class="col-sm-2 col-sm-pull-10">
75 <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
76 <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
77 <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a></li>
78 <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
80 [% INCLUDE 'tools-menu.inc' %]
82 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
85 [% MACRO jsinclude BLOCK %]
86 [% INCLUDE 'datatables.inc' %]
88 $(document).ready(function() {
89 $(".delete").click(function (event) {
90 $(this).parent().parent().parent().addClass("selected");
91 var answer = confirm(_("Are you sure you want to remove the tag from this title?"));
93 $("tr").removeClass("selected");
94 event.preventDefault();
97 $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
99 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
101 "aaSorting": [[ 0, "asc" ]],
102 "sPaginationType": "full"
108 [% INCLUDE 'intranet-bottom.inc' %]