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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (+28 lines)
Lines 341-343 Link Here
341
    </table> <!-- /#itemst -->
341
    </table> <!-- /#itemst -->
342
</div>
342
</div>
343
[% END %]
343
[% END %]
344
345
[%# Used to build breadcrumb navigation nav %]
346
[% BLOCK breadcrumbs %]
347
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
348
        <ol>
349
            [%# Include the Home link every time %]
350
            [% WRAPPER breadcrumb_item %]
351
                <a href="/cgi-bin/koha/mainpage.pl">Home</a>
352
            [% END %]
353
            [% content | $raw %]
354
        </ol>
355
    </nav>
356
[% END %]
357
358
[%# Used to build individual breadcrumb items in the breadcrumb nav %]
359
[% BLOCK breadcrumb_item %]
360
    [% IF ( active ) %]
361
        <li>
362
            <a href="#" aria-current="page">
363
                [% content | $raw %]
364
            </a>
365
        </li>
366
    [% ELSE %]
367
        <li>
368
            [% content | $raw %]
369
        </li>
370
    [% END %]
371
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-35 / +24 lines)
Lines 24-72 Link Here
24
[% END %]
24
[% END %]
25
25
26
[% WRAPPER 'sub-header.inc' %]
26
[% WRAPPER 'sub-header.inc' %]
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
    [% WRAPPER breadcrumbs %]
28
    <ol>
28
        [% WRAPPER breadcrumb_item %]
29
        <li>
30
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
31
        </li>
32
        <li>
33
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
29
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
34
        </li>
30
        [% END %]
35
31
36
        [% IF op == 'add_form' %]
32
        [% IF op == 'add_form' %]
37
            <li>
33
            [% WRAPPER breadcrumb_item %]
38
                <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
34
                <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
39
            </li>
35
            [% END %]
40
            <li>
36
            [% WRAPPER breadcrumb_item active = 1 %]
41
                <a href="#" aria-current="page">
37
                [% IF city.cityid %]
42
                    [% IF city.cityid %]
38
                    <span>Modify city</span>
43
                        <span>Modify city</span>
39
                [% ELSE %]
44
                    [% ELSE %]
40
                    <span>New city</span>
45
                        <span>New city</span>
41
                [% END %]
46
                    [% END %]
42
            [% END %]
47
                </a>
48
            </li>
49
43
50
        [% ELSIF op == 'delete_confirm' %]
44
        [% ELSIF op == 'delete_confirm' %]
51
            <li>
45
            [% WRAPPER breadcrumb_item %]
52
                <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
46
                <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
53
            </li>
47
            [% END %]
54
            <li>
48
            [% WRAPPER breadcrumb_item active = 1 %]
55
                <a href="#" aria-current="page">
49
                Confirm deletion of city
56
                    Confirm deletion of city
50
            [% END %]
57
                </a>
58
            </li>
59
51
60
        [% ELSE %]
52
        [% ELSE %]
61
            <li>
53
            [% WRAPPER breadcrumb_item active = 1 %]
62
                <a href="#" aria-current="page">
54
                Cities
63
                    Cities
55
            [% END %]
64
                </a>
56
        [% END #/IF op = add_form %]
65
            </li>
57
66
        [% END %]
58
    [% END #/ WRAPPER breadcrumbs %]
67
    </ol>
59
[% END #/ WRAPPER sub-header.inc %]
68
</nav>
69
[% END %]
70
60
71
<div class="main container-fluid">
61
<div class="main container-fluid">
72
    <div class="row">
62
    <div class="row">
73
- 

Return to bug 32507