View | Details | Raw Unified | Return to bug 21306
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-21 / +23 lines)
Lines 5-11 Link Here
5
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
5
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% Asset.css("css/datatables.css") | $raw %]
7
[% Asset.css("css/datatables.css") | $raw %]
8
<style type="text/css">
8
<style>
9
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
9
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }</style>
10
</head>
10
</head>
11
11
Lines 15-24 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
15
15
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tags/review.pl">Tags</a> &rsaquo; Results for tag <i>[% tag | html %]</i></div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tags/review.pl">Tags</a> &rsaquo; Results for tag <i>[% tag | html %]</i></div>
17
17
18
<div id="doc3" class="yui-t2">
18
<div class="main container-fluid">
19
 <div id="bd">
19
    <div class="row">
20
  <div id="yui-main">
20
        <div class="col-sm-10 col-sm-push-2">
21
  <div class="yui-b">
21
            <main>
22
22
[% IF ( titles ) %]
23
[% IF ( titles ) %]
23
<h3>Titles tagged with the term <i>[% tag | html %]</i></h3>
24
<h3>Titles tagged with the term <i>[% tag | html %]</i></h3>
24
<table id="itemst">
25
<table id="itemst">
Lines 61-85 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
61
	<div class="dialog message">There are no titles tagged with the term <i>[% tag | html %]</i></div>
62
	<div class="dialog message">There are no titles tagged with the term <i>[% tag | html %]</i></div>
62
[% END %]
63
[% END %]
63
</form>
64
</form>
64
 </div>
65
65
 </div>
66
            </main>
66
 <div class="yui-b">
67
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
67
  <ul>
68
68
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a>
69
        <div class="col-sm-2 col-sm-pull-10">
69
    </li>
70
            <aside>
70
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a>
71
                <ul>
71
    </li>
72
                    <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
72
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a>
73
                    <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
73
    </li>
74
                    <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a></li>
74
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a>
75
                    <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
75
    </li>
76
                </ul>
76
  </ul>
77
                [% INCLUDE 'tools-menu.inc' %]
77
 </div>
78
            </aside>
78
</div>
79
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
80
     </div> <!-- /.row -->
79
81
80
[% MACRO jsinclude BLOCK %]
82
[% MACRO jsinclude BLOCK %]
81
    [% INCLUDE 'datatables.inc' %]
83
    [% INCLUDE 'datatables.inc' %]
82
    <script type="text/javascript">
84
    <script>
83
        $(document).ready(function() {
85
        $(document).ready(function() {
84
            $(".delete").click(function (event) {
86
            $(".delete").click(function (event) {
85
                $(this).parent().parent().parent().addClass("selected");
87
                $(this).parent().parent().parent().addClass("selected");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-17 / +18 lines)
Lines 6-12 Link Here
6
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
6
<title>Koha &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% Asset.css("css/datatables.css") | $raw %]
8
[% Asset.css("css/datatables.css") | $raw %]
9
<style type="text/css">
9
<style>
10
.setlabel {width: 6em; font-family: courier; background-color:#E8E8E8;}
10
.setlabel {width: 6em; font-family: courier; background-color:#E8E8E8;}
11
.rejected { color: #CC0033; }
11
.rejected { color: #CC0033; }
12
.approved { color: #339900; }
12
.approved { color: #339900; }
Lines 21-33 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
21
21
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Tags</div>
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Tags</div>
23
23
24
<div id="doc3" class="yui-t2">
24
<div class="main container-fluid">
25
 <div id="bd">
25
    <div class="row">
26
  <div id="yui-main">
26
        <div class="col-sm-12">
27
   <div class="yui-b">
27
            <main>
28
   
28
29
<div class="yui-ge">
29
<div class="row">
30
<div class="yui-u first">
30
<div class="col-sm-8 col-sm-push-2">
31
<h1>Tags</h1>
31
<h1>Tags</h1>
32
<form method="post" action="/cgi-bin/koha/tags/review.pl" class="checkboxed">
32
<form method="post" action="/cgi-bin/koha/tags/review.pl" class="checkboxed">
33
  <h4>Displaying 
33
  <h4>Displaying 
Lines 143-149 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
143
  </fieldset>[% END %]
143
  </fieldset>[% END %]
144
  </form>
144
  </form>
145
</div>
145
</div>
146
<div class="yui-u">
146
<div class="col-sm-2 col-sm-push-2">
147
    <aside>
147
 <fieldset class="brief">
148
 <fieldset class="brief">
148
  <h4>Terms summary</h4>
149
  <h4>Terms summary</h4>
149
  <ul>
150
  <ul>
Lines 181-193 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
181
   </div>
182
   </div>
182
   </form>
183
   </form>
183
  </fieldset>
184
  </fieldset>
185
    </aside>
184
</div>
186
</div>
185
</div>
187
<div class="col-sm-2 col-sm-pull-10">
186
188
    <aside>
187
188
  </div>
189
 </div>
190
 <div class="yui-b">
191
<form method="post" action="/cgi-bin/koha/tags/review.pl">
189
<form method="post" action="/cgi-bin/koha/tags/review.pl">
192
<fieldset class="brief">
190
<fieldset class="brief">
193
  <h4>Filters</h4>
191
  <h4>Filters</h4>
Lines 221-226 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
221
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
219
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
222
</fieldset>
220
</fieldset>
223
</form>
221
</form>
222
</aside>
223
</div>
224
</div>
225
</main>
224
</div>
226
</div>
225
</div>
227
</div>
226
228
Lines 229-235 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
229
    [% INCLUDE 'calendar.inc' %]
231
    [% INCLUDE 'calendar.inc' %]
230
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
232
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
231
    [% Asset.js("js/pages/tags-review.js") | $raw %]
233
    [% Asset.js("js/pages/tags-review.js") | $raw %]
232
    <script type="text/javascript">
234
    <script>
233
        var MSG_AJAX_APPROVE_FAILED = _("AJAX failed to approve tag: %s");
235
        var MSG_AJAX_APPROVE_FAILED = _("AJAX failed to approve tag: %s");
234
        var MSG_AJAX_REJECTION_FAILED = _("AJAX failed to reject tag: %s");
236
        var MSG_AJAX_REJECTION_FAILED = _("AJAX failed to reject tag: %s");
235
        var MSG_AJAX_TAG_PERMITTED = _("%s is permitted!");
237
        var MSG_AJAX_TAG_PERMITTED = _("%s is permitted!");
236
- 

Return to bug 21306