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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-93 / +75 lines)
Lines 4-33 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'home-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha staff interface</title>
11
<title>Koha staff interface</title>
9
[% Asset.css("css/mainpage.css") | $raw %]
12
[% Asset.css("css/mainpage.css") | $raw %]
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
<body id="main_intranet-main" class="intranet-main">
13
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'home-search.inc' %]
15
15
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<body id="main_intranet-main" class="intranet-main">
17
    <ol>
17
    [% INCLUDE 'header.inc' form=formulaire %]
18
        <li>
18
19
            <a href="#" aria-current="page">Home</a>
19
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
        </li>
20
        <ol>
21
    </ol>
21
            <li>
22
</nav>
22
                <a href="/cgi-bin/koha/mainpage.pl" aria-current="page">Home</a>
23
            </li>
24
        </ol>
25
        <ol>
26
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
        </ol>
28
        <ol>
29
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
        </ol>
31
    </nav>
23
32
24
    <div id="container-main" class="container-fluid">
33
    <div id="container-main" class="container-fluid">
25
        <div class="row">
34
        <div class="row">
26
            <h1 class="sr-only">Koha home</h1>
35
            <h1 class="sr-only">Koha home</h1>
27
            <div class="col-sm-3">
36
            <div class="col-sm-3">
37
                <div id="area-news">
38
                    <h3><span class="news_title">News</span></h3>
28
                [% IF ( koha_news.count ) %]
39
                [% IF ( koha_news.count ) %]
29
                    <div id="area-news">
30
                        <h3><span class="news_title">News</span></h3>
31
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
40
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
32
                        [% FOREACH koha_new IN koha_news %]
41
                        [% FOREACH koha_new IN koha_news %]
33
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
42
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
Lines 41-167 Link Here
41
                                </p>
50
                                </p>
42
                            </div>
51
                            </div>
43
                        [% END %]
52
                        [% END %]
44
                    </div><!-- /additional-contents -->
45
                [% END %]
53
                [% END %]
54
                </div><!-- /additional-contents -->
55
                <div id="area-news">
56
                    <h3>Quote of the day</h3>
57
46
                [% IF ( daily_quote ) %]
58
                [% IF ( daily_quote ) %]
47
                    <div id="area-news">
48
                        <h3>Quote of the day</h3>
49
                        <div class="newsitem">
59
                        <div class="newsitem">
50
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
60
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
51
                        </div>
61
                        </div>
52
                    </div>
53
                [% END %]
62
                [% END %]
63
                </div>
64
54
            </div> <!-- /.col-sm-2 -->
65
            </div> <!-- /.col-sm-2 -->
55
            <div class="col-sm-9">
66
            <div class="col-sm-9">
56
                <div class="row">
67
                <div class="row">
57
                    <div class="col-xs-6">
68
                    <ul class="biglinks-list">
58
                        <ul class="biglinks-list">
69
                        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
59
                            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
70
                            <li><a class="accueil" href="/cgi-bin/koha/circ/circulation-home.pl"><i class="fa fa-fw fa-exchange"></i></a><h7>Circulation</h7></li>
60
                            <li>
71
                        [% END %]
61
                                <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl"><i class="fa fa-fw fa-exchange"></i>Circulation</a>
62
                            </li>
63
                            [% END %]
64
72
65
                            [% IF CAN_user_borrowers_edit_borrowers %]
73
                        [% IF CAN_user_borrowers_edit_borrowers %]
66
                            <li>
74
                            <li><a class="accueil" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-fw fa-id-card-o"></i></a><h7>Patrons</h7></li>
67
                                <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-fw fa-id-card-o"></i>Patrons</a>
75
                        [% END %]
68
                            </li>
69
                            [% END %]
70
76
71
                            [% IF ( CAN_user_catalogue ) %]
77
                        [% IF ( CAN_user_catalogue ) %]
72
                            <li>
78
                            <li>
73
                                <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">
79
                                <a class="accueil" href="/cgi-bin/koha/catalogue/search.pl">
74
                                    <span class="fa-stack">
80
                                    <span class="fa-stack">
75
                                        <i class="fa fa-fw fa-book fa-stack-1x"></i>
81
                                        <i class="fa fa-fw fa-book fa-stack-1x"></i>
76
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
82
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
77
                                    </span>
83
                                    </span>
78
                                    Advanced search
79
                                </a>
84
                                </a>
85
                                <h7>
86
                                Advanced search
87
                                </h7>
80
                            </li>
88
                            </li>
81
                            <li>
89
                            <li>
82
                                <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/itemsearch.pl">
90
                                <a class="accueil" href="/cgi-bin/koha/catalogue/itemsearch.pl">
83
                                    <span class="fa-stack">
91
                                    <span class="fa-stack">
84
                                        <i class="fa fa-fw fa-list fa-stack-1x"></i>
92
                                        <i class="fa fa-fw fa-list fa-stack-1x"></i>
85
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
93
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
86
                                    </span>
94
                                    </span>
87
                                    Item search
88
                                </a>
95
                                </a>
96
                                <h7>
97
                                Item search
98
                                </h7>
89
                            </li>
99
                            </li>
90
                            [% END %]
100
                        [% END %]
91
101
92
                            <li>
102
                        <li><a class="accueil" href="/cgi-bin/koha/virtualshelves/shelves.pl"><i class="fa fa-fw fa-list-alt"></i></a><h7>Lists</h7></li>
93
                                <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl"><i class="fa fa-fw fa-list-alt"></i>Lists</a>
94
                            </li>
95
103
96
                            [% IF ( UseCourseReserves ) %]
104
                        [% IF ( UseCourseReserves ) %]
97
                                <li>
105
                            <li><a class="accueil" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book"></i></a><h7>Course reserves</h7></li>
98
                                    <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book"></i>Course reserves</a>
106
                        [% END %]
99
                                </li>
100
                            [% END %]
101
107
102
                            <li>
108
                            <li><a class="accueil" href="/cgi-bin/koha/authorities/authorities-home.pl"><i class="fa fa-fw fa-link"></i></a><h7>Authorities</h7></li>
103
                                <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl"><i class="fa fa-fw fa-link"></i>Authorities</a>
104
                            </li>
105
                            [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
106
                            <li>
107
                                <a class="icon_general icon_ill" href="/cgi-bin/koha/ill/ill-requests.pl"><i class="fa fa-fw fa-retweet"></i>ILL requests</a>
108
                            </li>
109
                            [% END %]
110
                        </ul>
111
                    </div> <!-- /.col-xs-6 -->
112
                    <div class="col-xs-6">
113
                        <ul class="biglinks-list">
114
109
115
                            [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
110
                        [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
116
                            <li>
111
                            <li><a class="accueil" href="/cgi-bin/koha/ill/ill-requests.pl"><i class="fa fa-fw fa-retweet"></i></a><h7>ILL requests</h7></li>
117
                                <a class="icon_general icon_pos" href="/cgi-bin/koha/pos/pay.pl"><i class="fa fa-fw fa-shopping-cart"></i>Point of sale</a>
112
                        [% END %]
118
                            </li>
119
                            [% END %]
120
113
121
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
114
                        [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
122
                            <li>
115
                            <li><a class="accueil" href="/cgi-bin/koha/pos/pay.pl"><i class="fa fa-fw fa-shopping-cart"></i></a><h7>Point of sale</h7></li>
123
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
116
                        [% END %]
124
                            </li>
125
                            [% END %]
126
117
127
                            [% IF ( CAN_user_serials ) %]
118
                        [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
128
                            <li>
119
                            <li><a class="accueil" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i></a><h7>Cataloging</h7></li>
129
                                <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl"><i class="fa fa-fw fa-newspaper-o"></i>Serials</a>
120
                        [% END %]
130
                                <span class="biglink"></span>
131
                            </li>
132
                            [% END %]
133
121
134
                            [% IF ( CAN_user_acquisition ) %]
122
                        [% IF ( CAN_user_serials ) %]
135
                            <li>
123
                            <li>
136
                                <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl"><i class="fa fa-fw fa-gift"></i>Acquisitions</a>
124
                                <a class="accueil" href="/cgi-bin/koha/serials/serials-home.pl"><i class="fa fa-fw fa-newspaper-o"></i></a><span class="biglink"></span><h7>Serials</h7>
137
                                <span class="biglink"></span>
138
                            </li>
125
                            </li>
139
                            [% END %]
126
                        [% END %]
140
127
141
                            [% IF ( CAN_user_reports ) %]
128
                        [% IF ( CAN_user_acquisition ) %]
142
                            <li>
129
                            <li>
143
                                <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl"><i class="fa fa-fw fa-pie-chart"></i>Reports</a>
130
                                <a class="accueil" href="/cgi-bin/koha/acqui/acqui-home.pl"><i class="fa fa-fw fa-gift"></i></a><span class="biglink"></span><h7>Acquisitions</h7>
144
                            </li>
131
                            </li>
145
                            [% END %]
132
                        [% END %]
146
133
134
                        [% IF ( CAN_user_reports ) %]
135
                            <li><a class="accueil" href="/cgi-bin/koha/reports/reports-home.pl"><i class="fa fa-fw fa-pie-chart"></i></a><h7>Reports</h7></li>
136
                        [% END %]
147
137
148
                            [% IF ( CAN_user_tools ) %]
149
                            <li>
150
                                <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl"><i class="fa fa-fw fa-wrench"></i>Tools</a>
151
                            </li>
152
                            [% END %]
153
138
154
                            [% IF ( CAN_user_parameters ) %]
139
                        [% IF ( CAN_user_tools ) %]
155
                            <li>
140
                            <li><a class="accueil" href="/cgi-bin/koha/tools/tools-home.pl"><i class="fa fa-fw fa-wrench"></i></a><h7>Tools</h7></li>
156
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-cogs"></i>Koha administration</a>
141
                        [% END %]
157
                            </li>
158
                            [% END %]
159
                            <li>
160
                                <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl"><img src="[% interface | html %]/[% theme | html %]/img/koha-egg.svg" alt="Koha Logo SVG"/> About Koha</a>
161
                            </li>
162
                        </ul>
163
                    </div> <!-- /.col-sm-6 -->
164
142
143
                        [% IF ( CAN_user_parameters ) %]
144
                            <li><a class="accueil" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-cogs"></i></a><h7>Koha administration</h7></li>
145
                        [% END %]
146
                        </li>
147
                    </ul>
165
                </div> <!-- /.row -->
148
                </div> <!-- /.row -->
166
                <div class="row">
149
                <div class="row">
167
                    <div class="col-sm-12">
150
                    <div class="col-sm-12">
168
- 

Return to bug 30952