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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc (-3 / +9 lines)
Lines 140-149 Link Here
140
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
140
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
141
        <ol class="breadcrumb">
141
        <ol class="breadcrumb">
142
            [%# Include the Home link every time %]
142
            [%# Include the Home link every time %]
143
            [% WRAPPER breadcrumb_item %]
143
            [% IF ( content.trim == "") # There are no other breadcrumb items, Home is the only link %]
144
                <a href="/cgi-bin/koha/opac-main.pl" title="Home">Home</a>
144
                [% WRAPPER breadcrumb_item bc_active = 1 %]
145
                    <span>Home</span>
146
                [% END %]
147
            [% ELSE %]
148
                [% WRAPPER breadcrumb_item %]
149
                    <a href="/cgi-bin/koha/opac-main.pl" title="Home">Home</a>
150
                [% END %]
151
                [% content | $raw %]
145
            [% END %]
152
            [% END %]
146
            [% content | $raw %]
147
        </ol>
153
        </ol>
148
    </nav>
154
    </nav>
149
[% END %]
155
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-13 / +8 lines)
Lines 19-37 Link Here
19
[% INCLUDE 'masthead.inc' %]
19
[% INCLUDE 'masthead.inc' %]
20
20
21
<div class="main">
21
<div class="main">
22
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
22
    [% WRAPPER breadcrumbs %]
23
        <ol class="breadcrumb">
23
        [% WRAPPER breadcrumb_item %]
24
            <li class="breadcrumb-item">
24
            <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a>
25
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
25
        [% END %]
26
            </li>
26
        [% WRAPPER breadcrumb_item bc_active= 1 %]
27
            <li class="breadcrumb-item">
27
            <span>Course reserves for &nbsp;<em>[% course.course_name | html %]</span>
28
                <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a>
28
        [% END %]
29
            </li>
29
    [% END #/ WRAPPER breadcrumbs %]
30
            <li class="breadcrumb-item active">
31
                <a href="#" aria-current="page">Course reserves for &nbsp;<em>[% course.course_name | html %]</em></a>
32
            </li>
33
        </ol>
34
    </nav> <!-- /#breadcrumbs -->
35
30
36
    <div class="container-fluid">
31
    <div class="container-fluid">
37
        <div class="row">
32
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-10 / +5 lines)
Lines 17-32 Link Here
17
[% INCLUDE 'masthead.inc' %]
17
[% INCLUDE 'masthead.inc' %]
18
18
19
<div class="main">
19
<div class="main">
20
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
20
    [% WRAPPER breadcrumbs %]
21
        <ol class="breadcrumb">
21
        [% WRAPPER breadcrumb_item bc_active= 1 %]
22
            <li class="breadcrumb-item">
22
            <span>Course reserves</span>
23
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
23
        [% END %]
24
            </li>
24
    [% END #/ WRAPPER breadcrumbs %]
25
            <li class="breadcrumb-item active">
26
                <a href="#" aria-current="page">Course reserves</a>
27
            </li>
28
        </ol>
29
    </nav> <!-- /#breadcrumbs -->
30
25
31
    <div class="container-fluid">
26
    <div class="container-fluid">
32
        <div class="row">
27
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-10 / +5 lines)
Lines 43-58 Link Here
43
[% INCLUDE 'masthead.inc' %]
43
[% INCLUDE 'masthead.inc' %]
44
44
45
<div class="main">
45
<div class="main">
46
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
46
    [% WRAPPER breadcrumbs %]
47
        <ol class="breadcrumb">
47
        [% WRAPPER breadcrumb_item bc_active= 1 %]
48
            <li class="breadcrumb-item">
48
            <span>Details for: </span>[% INCLUDE 'biblio-title.inc' %]
49
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
49
        [% END %]
50
            </li>
50
    [% END #/ WRAPPER breadcrumbs %]
51
            <li class="breadcrumb-item active">
52
                <a href="#" aria-current="page"><span>Details for: </span>[% INCLUDE 'biblio-title.inc' %]</a>
53
            </li>
54
        </ol>
55
    </nav> <!-- /#breadcrumbs -->
56
51
57
    <div class="container-fluid">
52
    <div class="container-fluid">
58
        <div class="row">
53
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt (-19 / +17 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AdditionalContents %]
3
[% USE AdditionalContents %]
3
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
Lines 10-35 Link Here
10
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
11
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
11
        [% INCLUDE 'masthead.inc' %]
12
        [% INCLUDE 'masthead.inc' %]
12
        <div class="main">
13
        <div class="main">
13
            <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
14
            [% WRAPPER breadcrumbs %]
14
                <ol class="breadcrumb">
15
                [% IF ( logged_in_user ) %]
15
                    <li class="breadcrumb-item">
16
                    [% WRAPPER breadcrumb_item %]
16
                        <a href="/cgi-bin/koha/opac-main.pl">Home</a>
17
                        <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
17
                    </li>
18
                    [% IF ( logged_in_user ) %]
19
                        <li class="breadcrumb-item"><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a></li>
20
                    [% END %]
18
                    [% END %]
21
                    <li class="breadcrumb-item">
19
                [% END %]
22
                        [% IF shelf.public %]
20
                [% WRAPPER breadcrumb_item %]
23
                            <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=1">Public lists</a>
21
                    [% IF shelf.public %]
24
                        [% ELSE %]
22
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=1">Public lists</a>
25
                            <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=0">Your lists</a>
23
                    [% ELSE %]
26
                        [% END %]
24
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=0">Your lists</a>
27
                    </li>
25
                    [% END %]
28
                    <li class="breadcrumb-item active">
26
                [% END %]
29
                        <a href="#" aria-current="page">Download list <em>[% shelf.shelfname | html %]</em></a>
27
                [% WRAPPER breadcrumb_item bc_active= 1 %]
30
                    </li>
28
                    <span>Download list '[% shelf.shelfname | html %]'</span>
31
                </ul>
29
                [% END %]
32
            </nav> <!-- /#breadcrumbs -->
30
            [% END #/ WRAPPER breadcrumbs %]
33
31
34
            <div class="container-fluid">
32
            <div class="container-fluid">
35
                <div class="row">
33
                <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt (-13 / +9 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 59-77 Link Here
59
[% INCLUDE 'masthead.inc' %]
60
[% INCLUDE 'masthead.inc' %]
60
61
61
    <div class="main">
62
    <div class="main">
62
        <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
63
        [% WRAPPER breadcrumbs %]
63
            <ol class="breadcrumb">
64
            [% WRAPPER breadcrumb_item %]
64
                <li class="breadcrumb-item">
65
                <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]">Details for [% bibliotitle | html %]</a>
65
                    <a href="/cgi-bin/koha/opac-main.pl">Home</a>
66
            [% END %]
66
                </li>
67
            [% WRAPPER breadcrumb_item bc_active= 1 %]
67
                <li class="breadcrumb-item">
68
                <span>Full subscription history</span>
68
                    <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]">Details for [% bibliotitle | html %]</a>
69
            [% END %]
69
                </li>
70
        [% END #/ WRAPPER breadcrumbs %]
70
                <li class="breadcrumb-item active">
71
                    <a href="#" aria-current="page">Full subscription history</a>
72
                </li>
73
            </ol>
74
        </nav> <!-- /#breadcrumbs -->
75
71
76
        <div class="container-fluid">
72
        <div class="container-fluid">
77
            <div class="row">
73
            <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt (-13 / +9 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AdditionalContents %]
3
[% USE AdditionalContents %]
3
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
Lines 39-57 Link Here
39
[% INCLUDE 'masthead.inc' %]
40
[% INCLUDE 'masthead.inc' %]
40
41
41
    <div class="main">
42
    <div class="main">
42
        <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
43
        [% WRAPPER breadcrumbs %]
43
            <ol class="breadcrumb">
44
            [% WRAPPER breadcrumb_item %]
44
                <li class="breadcrumb-item">
45
                [% INCLUDE 'biblio-title.inc' link = 1 %]
45
                    <a href="/cgi-bin/koha/opac-main.pl">Home</a>
46
            [% END %]
46
                </li>
47
            [% WRAPPER breadcrumb_item bc_active= 1 %]
47
                <li class="breadcrumb-item">
48
                <span>Images</span>
48
                    [% INCLUDE 'biblio-title.inc' %]
49
            [% END %]
49
                </li>
50
        [% END #/ WRAPPER breadcrumbs %]
50
                <li class="breadcrumb-item active">
51
                    <a href="#" aria-current="page">Images</a>
52
                </li>
53
            </ol>
54
        </nav> <!-- /#breadcrumbs -->
55
51
56
        <div class="container-fluid">
52
        <div class="container-fluid">
57
            <div class="row">
53
            <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 22-28 Link Here
22
                <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
23
                <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
23
            </li>
24
            </li>
24
            <li class="breadcrumb-item active">
25
            <li class="breadcrumb-item active">
25
                <a href="#" aria-current="page">Editing issue note for [% title | html %] [% author | html %]</a>
26
                <a href="#" aria-current="page">Editing issue note for '[% title | html %]' [% author | html %]</a>
26
            </li>
27
            </li>
27
        </ol>
28
        </ol>
28
    </nav> <!-- /#breadcrumbs -->
29
    </nav> <!-- /#breadcrumbs -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt (-18 / +13 lines)
Lines 61-85 Link Here
61
[% END %]
61
[% END %]
62
62
63
<div class="main">
63
<div class="main">
64
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
64
    [% WRAPPER breadcrumbs %]
65
        <ol class="breadcrumb">
65
        [% IF ( library ) %]
66
            <li class="breadcrumb-item">
66
            [% WRAPPER breadcrumb_item %]
67
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
67
                <a href="/cgi-bin/koha/opac-library.pl">Libraries</a>
68
            </li>
68
            [% END %]
69
            [% IF ( library ) %]
69
            [% WRAPPER breadcrumb_item bc_active= 1 %]
70
                <li class="breadcrumb-item">
70
                [% library.branchname | html %]
71
                    <a href="/cgi-bin/koha/opac-library.pl">Libraries</a>
72
                </li>
73
                <li class="breadcrumb-item active">
74
                    <a href="#" aria-current="page">[% library.branchname | html %]</a>
75
                </li>
76
            [% ELSE %]
77
                <li class="breadcrumb-item active">
78
                    <a href="#" aria-current="page">Libraries</a>
79
                </li>
80
            [% END %]
71
            [% END %]
81
        </ol>
72
        [% ELSE %]
82
    </nav> <!-- /#breadcrumbs -->
73
            [% WRAPPER breadcrumb_item bc_active= 1 %]
74
                <span>Libraries</span>
75
            [% END %]
76
        [% END %]
77
    [% END #/ WRAPPER breadcrumbs %]
83
78
84
    <div class="container-fluid">
79
    <div class="container-fluid">
85
        <div class="row">
80
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-15 / +7 lines)
Lines 21-42 Link Here
21
[% INCLUDE 'masthead.inc' %]
21
[% INCLUDE 'masthead.inc' %]
22
22
23
<div class="main">
23
<div class="main">
24
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
24
    [% WRAPPER breadcrumbs %]
25
        <ol class="breadcrumb">
25
        [% IF news_item %]
26
            [% IF news_item %]
26
            [% WRAPPER breadcrumb_item bc_active= 1 %]
27
                <li class="breadcrumb-item">
27
                [% news_item.title | html %]
28
                    <a href="/cgi-bin/koha/opac-main.pl">Home</a>
29
                </li>
30
                <li class="breadcrumb-item active">
31
                    <a href="#" aria-current="page">[% news_item.title | html %]</a>
32
                </li>
33
            [% ELSE %]
34
                <li class="breadcrumb-item active">
35
                    <a href="#" aria-current="page">Home</a>
36
                </li>
37
            [% END %]
28
            [% END %]
38
        </ol>
29
        [% ELSE %]
39
    </nav> <!-- /#breadcrumbs -->
30
        [% END %]
31
    [% END #/ WRAPPER breadcrumbs %]
40
32
41
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
33
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
42
        [% IF ( loggedinusername ) %]
34
        [% IF ( loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt (-13 / +6 lines)
Lines 13-34 Link Here
13
[% INCLUDE 'masthead.inc' %]
13
[% INCLUDE 'masthead.inc' %]
14
14
15
<div class="main">
15
<div class="main">
16
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
16
    [% WRAPPER breadcrumbs %]
17
        <ol class="breadcrumb">
17
        [% WRAPPER breadcrumb_item bc_active= 1 %]
18
            <li class="breadcrumb-item">
19
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
20
            </li>
21
            [% IF page %]
18
            [% IF page %]
22
                <li class="breadcrumb-item active">
19
                <span>[% page.title | html %]</span>
23
                    <a href="#" aria-current="page">[% page.title | html %]</a>
24
                </li>
25
            [% ELSE %]
20
            [% ELSE %]
26
                <li class="breadcrumb-item active">
21
                <span>Page error</span>
27
                    <a href="#" aria-current="page">Page error</a>
28
                </li>
29
            [% END %]
22
            [% END %]
30
        </ol>
23
        [% END %]
31
    </nav> <!-- /#breadcrumbs -->
24
    [% END #/ WRAPPER breadcrumbs %]
32
25
33
    <div class="container-fluid">
26
    <div class="container-fluid">
34
        <div class="row">
27
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt (-2 / +11 lines)
Lines 17-24 Link Here
17
        [% WRAPPER breadcrumb_item %]
17
        [% WRAPPER breadcrumb_item %]
18
            <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
18
            <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
19
        [% END %]
19
        [% END %]
20
        [% WRAPPER breadcrumb_item bc_active= 1 %]
20
        [% IF ( password_updated ) %]
21
            <span>Change your password</span>
21
            [% WRAPPER breadcrumb_item %]
22
                <a href="/cgi-bin/koha/opac-passwd.pl">Change your password</a>
23
            [% END %]
24
            [% WRAPPER breadcrumb_item bc_active= 1 %]
25
                <span>Password updated</span>
26
            [% END %]
27
        [% ELSE %]
28
            [% WRAPPER breadcrumb_item bc_active= 1 %]
29
                <span>Change your password</span>
30
            [% END %]
22
        [% END %]
31
        [% END %]
23
    [% END #/ WRAPPER breadcrumbs %]
32
    [% END #/ WRAPPER breadcrumbs %]
24
33
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt (-13 / +9 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 13-31 Link Here
13
[% INCLUDE 'masthead.inc' %]
14
[% INCLUDE 'masthead.inc' %]
14
15
15
<div class="main">
16
<div class="main">
16
    <nav aria-label="breadcrumb">
17
    [% WRAPPER breadcrumbs %]
17
        <ul class="breadcrumb">
18
        [% WRAPPER breadcrumb_item %]
18
            <li class="breadcrumb-item">
19
            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Details for: [% biblio.title | html %]</a>
19
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
20
        [% END %]
20
            </li>
21
        [% WRAPPER breadcrumb_item bc_active= 1 %]
21
            <li class="breadcrumb-item">
22
            <span>Place recall</span>
22
                <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Details for: [% biblio.title | html %]</a>
23
        [% END %]
23
            </li>
24
    [% END #/ WRAPPER breadcrumbs %]
24
            <li class="breadcrumb-item">
25
                <a href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% biblio.biblionumber | uri %]">Place recall</a>
26
            </li>
27
        </ul>
28
    </nav>
29
25
30
    <div class="container-fluid">
26
    <div class="container-fluid">
31
        <div class="row">
27
        <div class="row">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt (-11 / +18 lines)
Lines 1-3 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE AdditionalContents %]
3
[% USE AdditionalContents %]
3
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
Lines 11-26 Link Here
11
[% INCLUDE 'masthead.inc' %]
12
[% INCLUDE 'masthead.inc' %]
12
13
13
    <div class="main">
14
    <div class="main">
14
        <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
15
        [% WRAPPER breadcrumbs %]
15
            <ol class="breadcrumb">
16
            [% WRAPPER breadcrumb_item bc_active= 1 %]
16
                <li class="breadcrumb-item">
17
                [% IF messages %]
17
                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
18
                    [% FOR m IN messages %]
18
                </li>
19
                        [% SWITCH m.code %]
19
                <li class="breadcrumb-item active">
20
                            [% CASE 'success_on_send' %]
20
                    <a href="#" aria-current="page">Report a problem</a>
21
                                <span>Report submitted</span>
21
                </li>
22
                            [% CASE 'error_on_send' %]
22
            </ol>
23
                                <span>Error submitting report</span>
23
        </nav> <!-- /#breadcrumbs -->
24
                            [% CASE %]
25
                        [% END %]
26
                    [% END %]
27
                [% ELSE %]
28
                    <span>Report a problem</span>
29
                [% END %]
30
            [% END %]
31
        [% END #/ WRAPPER breadcrumbs %]
24
32
25
        <div class="container-fluid">
33
        <div class="container-fluid">
26
            <div class="row">
34
            <div class="row">
27
- 

Return to bug 34855