Bugzilla – Attachment 49127 Details for
Bug 16064
Remove use of image to indicate approval in tags moderation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16064 - Remove use of image to indicate approval in tags moderation
Bug-16064---Remove-use-of-image-to-indicate-approv.patch (text/plain), 2.97 KB, created by
Marc Véron
on 2016-03-14 16:59:39 UTC
(
hide
)
Description:
Bug 16064 - Remove use of image to indicate approval in tags moderation
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-14 16:59:39 UTC
Size:
2.97 KB
patch
obsolete
>From 9ecba8efc04c2bb04b819a4325925ec69695cc17 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 14 Mar 2016 10:12:38 -0400 >Subject: [PATCH] Bug 16064 - Remove use of image to indicate approval in tags > moderation >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch updates the tags moderation template to use text labels to >mark tag moderation status, eliminating the use of an image file to >signify approval. > >To test you should have some tags in each approval state: pending, >approved, and rejected. > >- Apply the patch and go to Tools -> Tags. >- Confirm that the status of each tag is clearly shown with a text > label. > >Works as expected (Do not forget to set filter at the left to 'all' for testing) >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/prog/en/modules/tags/review.tt | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >index b4dcebe..ab4712c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >@@ -8,9 +8,9 @@ > <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <style type="text/css"> > .setlabel {width: 6em; font-family: courier; background-color:#E8E8E8;} >-tr > td.red {color:darkred; background-color: pink;} >-tr > td.green {color:darkgreen; background-color: #D1EFD5; text-align: center;} >-tr > td.pending {background-color: lightyellow;} >+.rejected { color: #CC0033; } >+.approved { color: #339900; } >+.pending { color: #CCC; font-style: italic; } > tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > </style> > <script type="text/javascript"> >@@ -237,10 +237,14 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > [% IF ( tagloo.approved == 0 ) %]<td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" class="pending" /></span> > [% ELSE %]<td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" /></span>[% END %] > </td> >- [% IF ( tagloo.approved == -1 ) %]<td class="red">rejected >- [% ELSIF ( tagloo.approved == 1 ) %]<td class="green"><img alt="OK" src="[% interface %]/[% theme %]/img/approve.gif" /> >- [% ELSE %]<td class="pending"> >- [% END %] >+ <td> >+ [% IF ( tagloo.approved == -1 ) %] >+ <span class="rejected">Rejected</span> >+ [% ELSIF ( tagloo.approved == 1 ) %] >+ <span class="approved">Approved</span> >+ [% ELSE %] >+ <span class="pending">Pending</span> >+ [% END %] > </td> > <td><a href="/cgi-bin/koha/tags/list.pl?tag=[% tagloo.term|uri %]">[% tagloo.term %]</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 16064
:
49097
|
49127
|
49215