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

(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (-1 / +1 lines)
Lines 305-311 caption { Link Here
305
	margin : .3em 0;
305
	margin : .3em 0;
306
}
306
}
307
307
308
span.problem {
308
.problem {
309
	background-color : #FFFFCC;
309
	background-color : #FFFFCC;
310
	color : #990000;
310
	color : #990000;
311
	font-weight : bold;
311
	font-weight : bold;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-17 / +13 lines)
Lines 113-120 $(document).ready(function() { Link Here
113
  <th>Library</th>
113
  <th>Library</th>
114
  <th>Call number</th>
114
  <th>Call number</th>
115
  <th>Notes</th>
115
  <th>Notes</th>
116
  [% IF ( routing && CAN_user_serials_routing ) %]<th>Routing</th>[% END %]
116
  <th>&nbsp;</th>
117
  <th>Renew</th>
118
</tr>
117
</tr>
119
[% FOREACH subscription IN subscriptions %]
118
[% FOREACH subscription IN subscriptions %]
120
    <tr>
119
    <tr>
Lines 132-159 $(document).ready(function() { Link Here
132
                <br /> Subscription closed
131
                <br /> Subscription closed
133
            [% END %]
132
            [% END %]
134
        </td>
133
        </td>
135
        [% IF ( routing && CAN_user_serials_routing ) %]
134
        [% IF ( subscription.abouttoexpire ) || ( subscription.subscriptionexpired ) %]<td class="problem actions">[% ELSE %]<td class="actions">[% END %]
136
        <td>
135
        [% UNLESS subscription.closed %]
137
            [% UNLESS subscription.closed %]
136
            [% IF ( routing && CAN_user_serials_routing ) %]
138
                [% IF ( subscription.hasRouting ) %]
137
                [% IF ( subscription.hasRouting ) %]
139
                    <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit routing list</a>
138
                    <a class="btn btn-mini" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]"><i class="fa fa-pencil"></i> Edit routing list</a>
140
                [% ELSE %]
139
                [% ELSE %]
141
                    <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&amp;op=new">Create routing list</a>
140
                    <a class="btn btn-mini" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&amp;op=new"><i class="fa fa-plus"></i> Create routing list</a>
142
                [% END %]
141
                [% END %]
143
            [% END %]
142
            [% END %]
144
        </td>
143
            [% IF ( subscription.abouttoexpire ) %]<a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;"><i class="fa fa-refresh"></i> Renew</a>
145
        [% END %]
146
        [% UNLESS subscription.closed %]
147
            [% IF ( subscription.abouttoexpire ) %]<td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;">Renew</a></td>
148
            [% ELSE %]
144
            [% ELSE %]
149
                [% IF ( subscription.subscriptionexpired ) %]<td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;">Renew</a></td>
145
                [% IF ( subscription.subscriptionexpired ) %]<a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;"><i class="fa fa-refresh"></i> Renew</a>
150
                [% ELSE %]
146
                [% ELSE %]
151
                    <td> &nbsp;</td>
147
                    &nbsp;
152
                [% END %]
148
                [% END %]
153
            [% END %]
149
            [% END %]
154
        [% ELSE %]
150
        [% ELSE %]
155
            <td> &nbsp;</td>
151
            &nbsp;
156
        [% END %]
152
        [% END %]
153
        </td>
157
      </tr>
154
      </tr>
158
[% END %]
155
[% END %]
159
[% IF ( subscr ) %]
156
[% IF ( subscr ) %]
Lines 303-310 $(document).ready(function() { Link Here
303
                    [% Branches.GetName( serial.branchcode ) %]
300
                    [% Branches.GetName( serial.branchcode ) %]
304
                </td>
301
                </td>
305
                [% IF ( routing ) %]
302
                [% IF ( routing ) %]
306
                <td>
303
                <td class="actions">
307
                    <a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" >Print list</a>
304
                    <a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-mini"><i class="fa fa-print"></i> Print list</a>
308
                </td>
305
                </td>
309
                [% END %]
306
                [% END %]
310
            </tr>
307
            </tr>
311
- 

Return to bug 16874