Bugzilla – Attachment 120121 Details for
Bug 28175
Usability improvements to uploads page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28175: (follow-up) Adapt layout when there are no upload categories
Bug-28175-follow-up-Adapt-layout-when-there-are-no.patch (text/plain), 1.36 KB, created by
Owen Leonard
on 2021-04-23 16:07:13 UTC
(
hide
)
Description:
Bug 28175: (follow-up) Adapt layout when there are no upload categories
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-04-23 16:07:13 UTC
Size:
1.36 KB
patch
obsolete
>From 6d146bd95d00ac9306f0094caa6a2bc22203c22a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 23 Apr 2021 16:05:40 +0000 >Subject: [PATCH] Bug 28175: (follow-up) Adapt layout when there are no upload > categories > >This patch adds some logic to the uploads template so that if there are >no upload categories there isn't an empty space on the page where the >"Search by category" form would be. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >index a3de99d78d..25f3bed0cb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >@@ -265,10 +265,14 @@ > [% IF mode == 'new' || mode == 'deleted' %] > [% PROCESS form_new %] > <div class="row"> >- <div class="col-sm-6"> >- [% PROCESS form_browse %] >- </div> >- <div class="col-sm-6"> >+ [% IF uploadcategories %] >+ <div class="col-sm-6"> >+ [% PROCESS form_browse %] >+ </div> >+ <div class="col-sm-6"> >+ [% ELSE %] >+ <div class="col-sm-12"> >+ [% END %] > [% PROCESS form_search %] > </div> > </div> >-- >2.11.0
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 28175
:
119907
|
120025
|
120121
|
122302
|
122581
|
122582
|
122583