Remove the hard coded text over images in TTPac user/mrpeters-isl/remove_text_image_buttons
authorMichael Peters <mrpeters@library.in.gov>
Tue, 4 Oct 2011 14:53:48 +0000 (10:53 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Tue, 4 Oct 2011 14:56:12 +0000 (10:56 -0400)
Removed the images for Questions and FAQ's and replaced them with i18n friendly opac-button's.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/templates/opac/parts/login/help.tt2

index 16db31f..2debed9 100644 (file)
@@ -1,12 +1,12 @@
 <td class="login_boxes right_brain" align="center" valign="top" width="291">
 
-    <a href="http://example.com"><img 
-        src="[% ctx.media_prefix %]/images/questions.png" alt="[% l('Questions?') %]" style="margin-top:29px;" /></a>
+    <div style="margin-top:29px;"><a href="http://example.com" class="opac-button">Questions?</a></div>
 
-    <div style="width:182px;color:black;padding:5px 25px;">
+    <div style="width:182px;color:black;padding: 20px 25px;">
         [% l('Visit our FAQs section for answers to common questions about how to use your account.') %]
     </div>
 
-    <a href="http://example.com"><img
-        alt="[% l('FAQs') %]" src="[% ctx.media_prefix %]/images/faqs-btn.png" style="margin-top:13px;" /></a>
+
+    <div style="margin-top:13px;"><a href="http://example.com" class="opac-button">FAQs</a></div>
+
 </td>