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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt (-40 / +43 lines)
Lines 4-67 Link Here
4
[% PROCESS 'restriction-types.inc' %]
4
[% PROCESS 'restriction-types.inc' %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% ELSE %]New restriction[% END %][% END %]
7
<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' &rsaquo; [% ELSE %]New restriction &rsaquo; [% END %][% END %]
8
[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% END %] &rsaquo; Patron restrictions &rsaquo; Administration &rsaquo; Koha
8
[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' &rsaquo; [% END %]Patron restrictions &rsaquo; Administration &rsaquo; Koha
9
</title>
9
</title>
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
11
</head>
12
12
13
<body id="admin_restrictions" class="admin">
13
<body id="admin_restrictions" class="admin">
14
[% INCLUDE 'header.inc' %]
14
[% WRAPPER 'header.inc' %]
15
[% INCLUDE 'patrons-admin-search.inc' %]
15
    [% INCLUDE 'prefs-admin-search.inc' %]
16
16
[% END %]
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
18
    <ol>
18
[% WRAPPER 'sub-header.inc' %]
19
    <li>
19
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
        <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20
        <ol>
21
    </li>
22
    <li>
23
        <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
24
    </li>
25
26
    [% IF op == 'list' %]
27
        <li>
21
        <li>
28
            <a href="#" aria-current="page">
22
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
29
                Patron restrictions
30
            </a>
31
        </li>
23
        </li>
32
    [% END %]
33
34
    [% IF op == 'add_form' %]
35
        <li>
24
        <li>
36
            <a href="/cgi-bin/koha/admin/restrictions.pl">Patron restrictions</a>
25
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
37
        </li>
26
        </li>
38
        [% IF restriction %]
27
28
        [% IF op == 'list' %]
39
            <li>
29
            <li>
40
                <a href="#" aria-current="page">
30
                <a href="#" aria-current="page">
41
                    Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'
31
                    Patron restrictions
42
                </a>
32
                </a>
43
            </li>
33
            </li>
44
        [% ELSE %]
34
        [% END %]
35
36
        [% IF op == 'add_form' %]
37
            <li>
38
                <a href="/cgi-bin/koha/admin/restrictions.pl">Patron restrictions</a>
39
            </li>
40
            [% IF restriction %]
41
                <li>
42
                    <a href="#" aria-current="page">
43
                        Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'
44
                    </a>
45
                </li>
46
            [% ELSE %]
47
                <li>
48
                    <a href="#" aria-current="page">
49
                        New restriction
50
                    </a>
51
                </li>
52
            [% END %]
53
        [% END %]
54
55
        [% IF op == 'delete_confirm' %]
56
            <li>
57
                <a href="/cgi-bin/koha/admin/restrictions.pl">Patron restrictions</a>
58
            </li>
45
            <li>
59
            <li>
46
                <a href="#" aria-current="page">
60
                <a href="#" aria-current="page">
47
                    New restriction
61
                    Delete restriction?
48
                </a>
62
                </a>
49
            </li>
63
            </li>
50
        [% END %]
64
        [% END %]
51
    [% END %]
65
        </ol>
66
    </nav>
67
[% END %]
52
68
53
    [% IF op == 'delete_confirm' %]
54
        <li>
55
            <a href="/cgi-bin/koha/admin/restrictions.pl">Patron restrictions</a>
56
        </li>
57
        <li>
58
            <a href="#" aria-current="page">
59
                Delete restriction?
60
            </a>
61
        </li>
62
    [% END %]
63
    </ol>
64
</nav>
65
69
66
<div class="main container-fluid">
70
<div class="main container-fluid">
67
    <div class="row">
71
    <div class="row">
68
- 

Return to bug 32787