Bugzilla – Attachment 49232 Details for
Bug 15989
Making classification sources actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15989 [Follow-up] Making classification sources actions buttons
Bug-15989-Follow-up-Making-classification-sources-.patch (text/plain), 2.70 KB, created by
Marc Véron
on 2016-03-16 15:02:40 UTC
(
hide
)
Description:
Bug 15989 [Follow-up] Making classification sources actions buttons
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-16 15:02:40 UTC
Size:
2.70 KB
patch
obsolete
>From f44973e849074ef2a1dedd41cf9cb912eb32af9b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 11 Mar 2016 12:56:11 -0500 >Subject: [PATCH] Bug 15989 [Follow-up] Making classification sources actions > buttons >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This trivial follow-up adds an "actions" class to the table cell >containing the new buttons. In conjunction with the style update in Bug >16048, this will prevent the buttons from wrapping at narrow browser >window widths. > >Also changed in this patch: A couple of capitalization errors. > >To test, apply the patch for Bug 16048 and go to Administration -> >Classification sources. Confirm that the "Edit" and "Delete" buttons do >not stack on top of each other even at narrow browser widths. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >index 71a1c39..4b233d2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >@@ -247,8 +247,8 @@ function CheckRuleForm(f) { > <tr> > <th>Code</th> > <th>Description</th> >- <th>In Use</th> >- <th>Filing Rule</th> >+ <th>In use</th> >+ <th>Filing rule</th> > <th>Actions</th> > </tr> > [% FOREACH class_source IN class_sources %] >@@ -257,7 +257,7 @@ function CheckRuleForm(f) { > <td>[% class_source.description %]</td> > <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td> > <td>[% class_source.sortrule %]</td> >- <td> >+ <td class="actions"> > <a class="btn btn-mini" href="[% class_source.script_name %]?op=edit_source&class_source=[% class_source.code |html %]"><i class="fa fa-pencil"></i> Edit</a> > <a class="btn btn-mini" href="[% class_source.script_name %]?op=delete_source&class_source=[% class_source.code |html %]"><i class="fa fa-trash"></i> Delete</a> > </td> >@@ -289,7 +289,7 @@ function CheckRuleForm(f) { > <td>[% class_sort_rule.rule %]</td> > <td>[% class_sort_rule.description %]</td> > <td>[% class_sort_rule.sort_routine %]</td> >- <td> >+ <td class="actions"> > <a class="btn btn-mini" href="[% class_sort_rule.script_name %]?op=edit_sort_rule&sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-pencil"></i> Edit</a> > <a class="btn btn-mini" href="[% class_sort_rule.script_name %]?op=delete_sort_rule&sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-trash"></i> Delete</a> > </td> >-- >1.7.10.4
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 15989
:
48712
|
48714
|
48820
|
48846
|
48900
|
48901
|
49052
|
49053
|
49232
|
49244
|
49245