Bugzilla – Attachment 173965 Details for
Bug 36221
Improve styling of Standard backend create OPAC form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36221: (QA follow-up): add placeholder attr to staff custom fields
Bug-36221-QA-follow-up-add-placeholder-attr-to-sta.patch (text/plain), 1.83 KB, created by
Victor Grousset/tuxayo
on 2024-11-05 09:20:12 UTC
(
hide
)
Description:
Bug 36221: (QA follow-up): add placeholder attr to staff custom fields
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-11-05 09:20:12 UTC
Size:
1.83 KB
patch
obsolete
>From 5b74c1a5a1e6542cb104df2d527df8f6918d5db3 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Tue, 5 Nov 2024 10:15:25 +0100 >Subject: [PATCH] Bug 36221: (QA follow-up): add placeholder attr to staff > custom fields > >In the prepopulated fields when editing item metadata that had custom >fields (tt generated). So it's consistent when adding new empty fields >(done in JS) >--- > Koha/ILL/Backend/shared-includes/custom_fields.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Backend/shared-includes/custom_fields.inc b/Koha/ILL/Backend/shared-includes/custom_fields.inc >index 0ab4a51c6b..eda71f62f3 100644 >--- a/Koha/ILL/Backend/shared-includes/custom_fields.inc >+++ b/Koha/ILL/Backend/shared-includes/custom_fields.inc >@@ -10,8 +10,8 @@ > <input type="text" placeholder="key" class="form-control input-fluid custom-field-input custom-name" name="custom_key" value="[% key | html %]"> > <input type="text" placeholder="value" class="form-control input-fluid custom-field-input" name="custom_value" id="custom-value" value="[% values.$i | html %]"> > [% ELSE %] >- <input type="text" class="custom-name" name="custom_key" value="[% key | html %]"> >- <input type="text" name="custom_value" id="custom-value" value="[% values.$i | html %]"> >+ <input type="text" placeholder="key" class="custom-name" name="custom_key" value="[% key | html %]"> >+ <input type="text" placeholder="value" name="custom_value" id="custom-value" value="[% values.$i | html %]"> > [% END %] > <button value="[% i | html %]" name="custom_delete" type="submit" class="btn btn-danger btn-sm delete-new-field"> > <span class="fa fa-delete"></span>Delete >-- >2.47.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 36221
:
162715
|
162716
|
162933
|
162934
|
162948
|
162949
|
162970
|
162971
|
165462
|
165463
|
165464
|
165465
|
173706
|
173752
|
173753
|
173754
|
173755
|
173756
|
173939
|
173940
|
173941
|
173965
|
173969
|
174017
|
174018
|
174019
|
174020
|
174021
|
174022
|
174023
|
174024
|
174025
|
174026
|
174027
|
174385
|
174398
|
174454