Bugzilla – Attachment 139904 Details for
Bug 31162
Add a clear cataloguing module home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31162: More conditionals for sections
Bug-31162-More-conditionals-for-sections.patch (text/plain), 4.85 KB, created by
Katrin Fischer
on 2022-08-28 10:42:14 UTC
(
hide
)
Description:
Bug 31162: More conditionals for sections
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-28 10:42:14 UTC
Size:
4.85 KB
patch
obsolete
>From efc1dcf175c3db6d86ec8485ee9ccac888cc24cc Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 22 Aug 2022 13:58:48 +0100 >Subject: [PATCH] Bug 31162: More conditionals for sections > >This adds missing conditionals to the section headings in the new >cataloging homepage. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../en/modules/cataloguing/cataloging-home.tt | 26 ++++++++++++------- > 1 file changed, 16 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >index a700fe1f21..442f35d1ce 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >@@ -30,9 +30,9 @@ > <div class="row"> > > <div class="col-sm-4 col-md-4"> >+ > [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] > <h3>New</h3> >- > <ul class="buttons-list"> > <li> > <a class="circ-button" href="/cgi-bin/koha/cataloguing/addbiblio.pl" class="btn btn-default"><i class="fa fa-plus"></i> Basic editor</a> >@@ -50,8 +50,8 @@ > </ul> > [% END %] > >+ [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %] > <h3>Import</h3> >- > <ul class="buttons-list"> > [% IF ( CAN_user_tools_stage_marc_import ) %] > <li> >@@ -65,9 +65,10 @@ > </li> > [% END %] > </ul> >+ [% END %] > >+ [% IF ( CAN_user_tools_export_catalog ) %] > <h3>Export</h3> >- > <ul class="buttons-list"> > [% IF ( CAN_user_tools_export_catalog ) %] > <li> >@@ -75,12 +76,14 @@ > </li> > [% END %] > </ul> >+ [% END %] > > </div> > > <div class="col-sm-4 col-md-4"> >- <h3>Batch editing</h3> > >+ [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates ) %] >+ <h3>Batch editing</h3> > <ul class="buttons-list"> > [% IF ( CAN_user_tools_items_batchmod ) %] > <li> >@@ -109,11 +112,14 @@ > </li> > [% END %] > </ul> >+ [% END %] >+ > </div> > > <div class="col-sm-4 col-md-4"> >- <h3>Reports</h3> > >+ [% IF ( CAN_user_tools_inventory ) %] >+ <h3>Reports</h3> > <ul class="buttons-list"> > [% IF ( CAN_user_tools_inventory ) %] > <li> >@@ -121,11 +127,11 @@ > </li> > [% END %] > </ul> >+ [% END %] > >+ [% IF ( CAN_user_tools_label_creator ) %] > <h3>Tools</h3> >- > <ul class="buttons-list"> >- [% IF ( CAN_user_tools_label_creator ) %] > <li> > <a class="circ-button" href="/cgi-bin/koha/labels/label-home.pl"><i class="fa fa-hashtag"></i> Label creator</a> > </li> >@@ -137,12 +143,11 @@ > <li> > <a class="circ-button" href="/cgi-bin/koha/labels/spinelabel-home.pl"><i class="fa fa-hashtag"></i> Quick spine label creator</a> > </li> >- [% END %] >- > </ul> >+ [% END %] > >+ [% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %] > <h3>Automations</h3> >- > <ul class="buttons-list"> > [% IF ( CAN_user_tools_items_batchmod ) %] > <li> >@@ -155,6 +160,7 @@ > </li> > [% END %] > </ul> >+ [% END %] > > </div> > </div> >-- >2.30.2
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 31162
:
137747
|
137754
|
137758
|
138141
|
138167
|
138687
|
138694
|
138797
|
138798
|
138799
|
139593
|
139594
|
139595
|
139596
|
139597
|
139598
|
139650
|
139651
|
139652
|
139654
|
139900
|
139901
|
139902
|
139903
|
139904
|
139905
|
139906
|
139907
|
140578
|
140579
|
140580
|
140581
|
140582
|
140583
|
140584
|
140585
|
140586
|
141246
|
141247
|
141248
|
141249
|
141250
|
141251
|
141252
|
141253
|
141254
|
141880
|
141881
|
141882
|
141883
|
141884
|
141885
|
141886
|
141887
|
141888
|
141889
|
141890
|
141891
|
141975
|
141976
|
141977
|
142028
|
142029
|
142663
|
142664