2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Tools › Tags › [% IF ( do_it ) %]Review › [% ELSE %]Review tags[% END %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6 <style type="text/css">
7 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
10 <body id="tags_list" class="tools">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
14 <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 <i>[% tag %]</i></div>
16 <div id="doc3" class="yui-t2">
21 <h3>Titles tagged with the term <i>[% tag %]</i></h3>
29 [% FOREACH title IN titles %]
31 <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% title.title |html %][% FOREACH subtitl IN title.subtitle %] [% subtitl.subfield %][% END %]</a>
33 <p>[% IF ( title.publishercode ) %]- [% title.publishercode|html %]
34 [% IF ( title.place ) %] [% title.place %][% END %][% END %]
35 [% IF ( title.pages ) %] - [% title.pages %][% IF ( title.size ) %] [% title.size %]
38 [% IF ( title.notes ) %]
39 <p>[% title.notes |html%]</p>[% END %]
40 [% IF ( title.TagLoop ) %]<p style="font-size:90%"><strong>Tagged with:</strong> [% FOREACH TagLoo IN title.TagLoop %]
41 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
45 <td>[% IF ( title.items ) %]<ul style="font-size:80%">[% FOREACH item IN title.items %]
47 [% item.branchname %] [% item.location_description %]
48 [% IF ( item.itemcallnumber ) %]
49 ([% item.itemcallnumber %])
52 [% END %]</ul>[% ELSE %]This record has no items.[% END %]
54 <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 %]" /><input type="hidden" name="tag_id" value="[% title.tag_id %]" /><button type="submit" class="delete btn btn-default btn-sm"><i class="fa fa-trash"></i> Remove tag</button></form></td>
59 <div class="dialog message">There are no titles tagged with the term <i>[% tag %]</i></div>
66 <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a>
68 <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a>
70 <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a>
72 <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a>
78 [% MACRO jsinclude BLOCK %]
79 [% INCLUDE 'datatables.inc' %]
80 <script type="text/javascript">
81 $(document).ready(function() {
82 $(".delete").click(function (event) {
83 $(this).parent().parent().parent().addClass("selected");
84 var answer = confirm(_("Are you sure you want to remove the tag from this title?"));
86 $("tr").removeClass("selected");
87 event.preventDefault();
90 $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
92 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
94 "aaSorting": [[ 0, "asc" ]],
95 "sPaginationType": "four_button"
101 [% INCLUDE 'intranet-bottom.inc' %]