Bugzilla – Attachment 136822 Details for
Bug 30952
New design for staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30952: Intranet main page
Bug-30952-Intranet-main-page.patch (text/plain), 13.74 KB, created by
Solene D
on 2022-07-01 12:06:49 UTC
(
hide
)
Description:
Bug 30952: Intranet main page
Filename:
MIME Type:
Creator:
Solene D
Created:
2022-07-01 12:06:49 UTC
Size:
13.74 KB
patch
obsolete
>From 840c46e98c31974d75da9e0259527d5e3d15cceb Mon Sep 17 00:00:00 2001 >From: Solene Desvaux <sdesvaux@biblibre.com> >Date: Thu, 31 Mar 2022 11:28:09 +0200 >Subject: [PATCH] Bug 30952: Intranet main page > >--- > .../prog/en/modules/intranet-main.tt | 167 ++++++++---------- > 1 file changed, 75 insertions(+), 92 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >index 8f121beab3..43b12c3f9f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -4,30 +4,39 @@ > [% USE Branches %] > [% USE KohaDates %] > [% SET footerjs = 1 %] >+[% formulaire = BLOCK %] >+ [% INCLUDE 'home-search.inc' %] >+[% END %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha staff interface</title> > [% Asset.css("css/mainpage.css") | $raw %] > [% INCLUDE 'doc-head-close.inc' %] > </head> >-<body id="main_intranet-main" class="intranet-main"> >-[% INCLUDE 'header.inc' %] >-[% INCLUDE 'home-search.inc' %] > >-<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> >- <ol> >- <li> >- <a href="#" aria-current="page">Home</a> >- </li> >- </ol> >-</nav> >+<body id="main_intranet-main" class="intranet-main"> >+ [% INCLUDE 'header.inc' form=formulaire %] >+ >+ <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> >+ <ol> >+ <li> >+ <a href="/cgi-bin/koha/mainpage.pl" aria-current="page">Home</a> >+ </li> >+ </ol> >+ <ol> >+ [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %] >+ </ol> >+ <ol> >+ <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a> >+ </ol> >+ </nav> > > <div id="container-main" class="container-fluid"> > <div class="row"> > <h1 class="sr-only">Koha home</h1> > <div class="col-sm-3"> >+ <div id="area-news"> >+ <h3><span class="news_title">News</span></h3> > [% IF ( koha_news.count ) %] >- <div id="area-news"> >- <h3><span class="news_title">News</span></h3> > [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %] > [% FOREACH koha_new IN koha_news %] > <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4> >@@ -41,127 +50,101 @@ > </p> > </div> > [% END %] >- </div><!-- /additional-contents --> > [% END %] >+ </div><!-- /additional-contents --> >+ <div id="area-news"> >+ <h3>Quote of the day</h3> >+ > [% IF ( daily_quote ) %] >- <div id="area-news"> >- <h3>Quote of the day</h3> > <div class="newsitem"> > <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> > </div> >- </div> > [% END %] >+ </div> >+ > </div> <!-- /.col-sm-2 --> > <div class="col-sm-9"> > <div class="row"> >- <div class="col-xs-6"> >- <ul class="biglinks-list"> >- [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] >- <li> >- <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl"><i class="fa fa-fw fa-exchange"></i>Circulation</a> >- </li> >- [% END %] >+ <ul class="biglinks-list"> >+ [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] >+ <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> >+ [% END %] > >- [% IF CAN_user_borrowers_edit_borrowers %] >- <li> >- <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> >- </li> >- [% END %] >+ [% IF CAN_user_borrowers_edit_borrowers %] >+ <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> >+ [% END %] > >- [% IF ( CAN_user_catalogue ) %] >+ [% IF ( CAN_user_catalogue ) %] > <li> >- <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl"> >+ <a class="accueil" href="/cgi-bin/koha/catalogue/search.pl"> > <span class="fa-stack"> > <i class="fa fa-fw fa-book fa-stack-1x"></i> > <i class="fa fa-fw fa-search fa-stack-2x"></i> > </span> >- Advanced search > </a> >+ <h7> >+ Advanced search >+ </h7> > </li> > <li> >- <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/itemsearch.pl"> >+ <a class="accueil" href="/cgi-bin/koha/catalogue/itemsearch.pl"> > <span class="fa-stack"> > <i class="fa fa-fw fa-list fa-stack-1x"></i> > <i class="fa fa-fw fa-search fa-stack-2x"></i> > </span> >- Item search > </a> >+ <h7> >+ Item search >+ </h7> > </li> >- [% END %] >+ [% END %] > >- <li> >- <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl"><i class="fa fa-fw fa-list-alt"></i>Lists</a> >- </li> >+ <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> > >- [% IF ( UseCourseReserves ) %] >- <li> >- <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> >- </li> >- [% END %] >+ [% IF ( UseCourseReserves ) %] >+ <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> >+ [% END %] > >- <li> >- <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl"><i class="fa fa-fw fa-link"></i>Authorities</a> >- </li> >- [% IF Koha.Preference('ILLModule') && CAN_user_ill %] >- <li> >- <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> >- </li> >- [% END %] >- </ul> >- </div> <!-- /.col-xs-6 --> >- <div class="col-xs-6"> >- <ul class="biglinks-list"> >+ <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> > >- [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %] >- <li> >- <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> >- </li> >- [% END %] >+ [% IF Koha.Preference('ILLModule') && CAN_user_ill %] >+ <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> >+ [% END %] > >- [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %] >- <li> >- <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a> >- </li> >- [% END %] >+ [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %] >+ <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> >+ [% END %] > >- [% IF ( CAN_user_serials ) %] >- <li> >- <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> >- <span class="biglink"></span> >- </li> >- [% END %] >+ [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %] >+ <li><a class="accueil" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i></a><h7>Cataloging</h7></li> >+ [% END %] > >- [% IF ( CAN_user_acquisition ) %] >+ [% IF ( CAN_user_serials ) %] > <li> >- <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl"><i class="fa fa-fw fa-gift"></i>Acquisitions</a> >- <span class="biglink"></span> >+ <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> > </li> >- [% END %] >+ [% END %] > >- [% IF ( CAN_user_reports ) %] >+ [% IF ( CAN_user_acquisition ) %] > <li> >- <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> >+ <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> > </li> >- [% END %] >+ [% END %] > >+ [% IF ( CAN_user_reports ) %] >+ <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> >+ [% END %] > >- [% IF ( CAN_user_tools ) %] >- <li> >- <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl"><i class="fa fa-fw fa-wrench"></i>Tools</a> >- </li> >- [% END %] > >- [% IF ( CAN_user_parameters ) %] >- <li> >- <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> >- </li> >- [% END %] >- <li> >- <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> >- </li> >- </ul> >- </div> <!-- /.col-sm-6 --> >+ [% IF ( CAN_user_tools ) %] >+ <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> >+ [% END %] > >+ [% IF ( CAN_user_parameters ) %] >+ <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> >+ [% END %] >+ </li> >+ </ul> > </div> <!-- /.row --> > <div class="row"> > <div class="col-sm-12"> >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30952
:
136810
|
136812
|
136813
|
136815
|
136816
|
136818
|
136819
|
136820
|
136822
|
136823
|
136825
|
136827
|
136828
|
136830
|
136831
|
136833
|
136834
|
136836
|
136837
|
136839
|
136840
|
136842
|
136844
|
136845
|
136847
|
136848
|
136878
|
136879
|
136880
|
136881
|
136882
|
136883
|
136884
|
136885
|
136886
|
136887
|
136888
|
136889
|
136890
|
136891
|
136892
|
136893
|
136894
|
136895
|
136896
|
136897
|
136898
|
136899
|
136900
|
136901
|
136902
|
136950
|
136951
|
136952
|
136953
|
136954
|
136955
|
136956
|
136957
|
136958
|
136959
|
136960
|
136961
|
136962
|
136963
|
136964
|
136965
|
136966
|
136967
|
136968
|
136969
|
136970
|
136971
|
136972
|
136973
|
136974
|
137408
|
137409
|
137410
|
137411
|
137414
|
137415
|
137416
|
137417
|
137418
|
137419
|
137420
|
137744
|
137767
|
137768
|
137775
|
137776
|
137994
|
138091
|
138092
|
138093
|
138094
|
138095
|
138096
|
138097
|
138098
|
138099
|
138100
|
138101
|
138102
|
138103
|
138245
|
138246
|
138247
|
138293
|
138299
|
138300
|
138302
|
140117
|
140118
|
140119
|
140120
|
140121
|
140122
|
140123
|
140124
|
140125
|
140126
|
140127
|
140128
|
140129
|
140130
|
140131
|
140132
|
140133
|
140134
|
140135
|
140136
|
140137
|
140138
|
140139
|
140140
|
140141
|
140142
|
140143
|
140371
|
140372
|
140373
|
140374
|
140433
|
140435
|
140459
|
140460
|
140512
|
140513
|
140514
|
140515
|
140516
|
140517
|
140519
|
140520
|
140521
|
140522
|
140523
|
140524
|
140525
|
140526
|
140527
|
140528
|
140529
|
140530
|
140531
|
140532
|
140533
|
140534
|
140535
|
140536
|
140537
|
140538
|
140539
|
140540
|
140541
|
140542
|
140543
|
140544
|
140545
|
140546
|
140547
|
140548
|
140549
|
140550
|
140551
|
140552
|
140553
|
140554
|
140555
|
140556
|
140557
|
140558
|
140559
|
140560
|
140566
|
140567
|
140570
|
140571
|
140575
|
140576
|
140577
|
140588
|
140613
|
140617
|
140618
|
140619
|
140620
|
140628
|
140629
|
140635
|
140649
|
140650
|
140651
|
140652
|
140653
|
140654
|
140658
|
140687
|
140976
|
140977
|
141020
|
141024
|
141026
|
141027
|
141041
|
141043
|
141044
|
141047
|
141052
|
141053
|
141054
|
141055
|
141056
|
141057
|
141064
|
141074
|
141075
|
141631
|
141632
|
141633
|
141634
|
141635
|
141636
|
141637
|
141638
|
141639
|
141640
|
141641
|
141642
|
141643
|
141644
|
141645
|
141646
|
141647
|
141648
|
141649
|
141650
|
141651
|
141652
|
141653
|
141654
|
141655
|
141656
|
141657
|
141658
|
141659
|
141660
|
141661
|
141662
|
141663
|
141664
|
141665
|
141666
|
141667
|
141668
|
141669
|
141670
|
141671
|
141672
|
141673
|
141674
|
141675
|
141676
|
141677
|
141678
|
141679
|
141680
|
141681
|
141682
|
141683
|
141684
|
141685
|
141686
|
141687
|
141688
|
141689
|
141690
|
141691
|
141692
|
141693
|
141694
|
141695
|
141696
|
141697
|
141698
|
141699
|
141700
|
141701
|
141702
|
141703
|
141704
|
141705
|
141706
|
141707
|
141708
|
141709
|
141710
|
141711
|
141712
|
141713
|
142604
|
142605