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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +5 lines)
Lines 241-247 $(document).ready(function() { Link Here
241
[% END %]
241
[% END %]
242
242
243
[% IF ( PATRON_CANT ) %]
243
[% IF ( PATRON_CANT ) %]
244
    <li>This patron can't check out this item per library circulation policy</li>
244
    <li>This patron can't check out this item per library circulation policy.</li>
245
[% END %]
246
247
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
248
    <li>No circ rule deinfed for this patron and itemtype combination.</li>
245
[% END %]
249
[% END %]
246
250
247
[% IF ( NOT_FOR_LOAN_FORCING ) %]
251
[% IF ( NOT_FOR_LOAN_FORCING ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (+7 lines)
Lines 23-28 Link Here
23
<p><a class="btn btn-small" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-plus"> </i> Create patron</a></p>
23
<p><a class="btn btn-small" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-plus"> </i> Create patron</a></p>
24
        </div>
24
        </div>
25
    [% END %]
25
    [% END %]
26
    [% IF noCircRules %]
27
        <div id="nocircruleswarning" class="dialog alert">
28
            <p><strong>Warning:</strong> You have not defined any circ rules and will not be able to check out items to patrons.</p>
29
            <p>Please define rules in the Administration: Circulation and fines rules module or using the link below or ask an adminstrator to do so.<p>
30
            <p><a class="btn btn-small" href="/cgi-bin/koha/admin/smart-rules.pl"><i class="fa fa-plus"> </i> Define circulation and fines rules</a></p>
31
        </div>
32
    [% END %]
26
    <div class="yui-u first">
33
    <div class="yui-u first">
27
34
28
            <div id="area-list-left">
35
            <div id="area-list-left">
(-)a/mainpage.pl (-1 / +6 lines)
Lines 31-36 use Koha::Patron::Modifications; Link Here
31
use Koha::Patron::Discharge;
31
use Koha::Patron::Discharge;
32
use Koha::Reviews;
32
use Koha::Reviews;
33
use Koha::ArticleRequests;
33
use Koha::ArticleRequests;
34
use Koha::IssuingRules;
34
35
35
my $query = new CGI;
36
my $query = new CGI;
36
37
Lines 91-94 unless ($loggedinuser) { Link Here
91
    $template->param(adminWarning => 1);
92
    $template->param(adminWarning => 1);
92
}
93
}
93
94
95
unless ( Koha::IssuingRules->count ) {
96
    warn "No rules";
97
    $template->param(noCircRules => 1);
98
}
99
94
output_html_with_http_headers $query, $cookie, $template->output;
100
output_html_with_http_headers $query, $cookie, $template->output;
95
- 

Return to bug 8361