Bugzilla – Attachment 43366 Details for
Bug 14100
Add base to make item types, branch names, sysprefs values and authorised values translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14100: Move add form to the top
Bug-14100-Move-add-form-to-the-top.patch (text/plain), 2.86 KB, created by
Jonathan Druart
on 2015-10-13 09:04:09 UTC
(
hide
)
Description:
Bug 14100: Move add form to the top
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-13 09:04:09 UTC
Size:
2.86 KB
patch
obsolete
>From e6b47c602a6a2510353e6f46aa8f4f531c954b94 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 13 Oct 2015 09:52:54 +0100 >Subject: [PATCH] Bug 14100: Move add form to the top > >Not sure this is the best: now the messages will make the table moves. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/en/modules/admin/localization.tt | 36 +++++++++++----------- > 1 file changed, 18 insertions(+), 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >index ba9f2e8..795733d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >@@ -193,6 +193,24 @@ > </head> > <body id="admin_localization" class="admin"> > <div id="main"> >+<form id="add_translation" method="post"> >+ <input type="hidden" name="entity" value="[% entity %]" /> >+ <input type="hidden" name="code" value="[% code %]" /> >+ Lang: <select name="lang"> >+ [% FOR language IN languages %] >+ [% FOR sublanguage IN language.sublanguages_loop %] >+ [% IF language.plural %] >+ <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] [% sublanguage.region_description %] ([% sublanguage.rfc4646_subtag %])</option> >+ [% ELSE %] >+ <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] ([% sublanguage.rfc4646_subtag %])</option> >+ [% END %] >+ [% END %] >+ [% END %] >+ </select> >+ Translation: <input type="text" name="translation" /> >+ <input type="submit" value="Add" /> >+</form> >+<div id="messages"></div> > <table id="localization"> > <thead> > <tr> >@@ -217,24 +235,6 @@ > [% END %] > </tbody> > </table> >-<form id="add_translation" method="post"> >- <input type="hidden" name="entity" value="[% entity %]" /> >- <input type="hidden" name="code" value="[% code %]" /> >- Lang: <select name="lang"> >- [% FOR language IN languages %] >- [% FOR sublanguage IN language.sublanguages_loop %] >- [% IF language.plural %] >- <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] [% sublanguage.region_description %] ([% sublanguage.rfc4646_subtag %])</option> >- [% ELSE %] >- <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] ([% sublanguage.rfc4646_subtag %])</option> >- [% END %] >- [% END %] >- [% END %] >- </select> >- Translation: <input type="text" name="translation" /> >- <input type="submit" value="Add" /> >-</form> >-<div id="messages"></div> > </div> > </body> > </html> >-- >2.1.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 14100
:
38727
|
40917
|
40965
|
41654
|
41659
|
41660
|
42525
|
42526
|
43110
|
43111
|
43365
|
43366
|
43367
|
43368
|
43369
|
43370
|
43394
|
43395
|
43396
|
43577
|
43602
|
43603
|
43604
|
43605
|
43606
|
43613
|
44085
|
44086
|
44087
|
44088
|
44089
|
44090
|
44094
|
44108
|
44109
|
44119
|
44151