patch for Bug 8226 - 'OpacFooter' markup/css improvements origin/new/bug_8226
authorMason James <mtj@kohaaloha.com>
Mon, 11 Jun 2012 04:40:04 +0000 (16:40 +1200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 08:41:30 +0000 (10:41 +0200)
Signed-off-by: Michael Davis <m.r.davis@cranfield.ac.uk>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc

index e2996a9..47ea6e7 100644 (file)
@@ -2210,16 +2210,20 @@ div.bibmessage { background-color : #ffffb0; border-radius : 5px; padding : 3px;
     background-repeat: no-repeat;
 }
 
+.koha_url {
+    color: #666666;
+}
+
 div.koha_url {
     border-top: none !important;
 }
 span.koha_url {
     position: absolute;
     right: 0;
+    font-size: 85%;
 }
 a.koha_url {
     text-decoration:none;
-    color: #666666;
 }
 /* pagination */
 .pagination {
index 66e26c1..295eb5b 100644 (file)
         [% END %]
     [% END %]
 
-
-[% IF ( OpacKohaUrl ) %]
+    [% IF ( OpacKohaUrl ) %]
     <span class="koha_url">
-        <a class="koha_url" href="http://koha-community.org">Powered by <strong>Koha</strong></a>&nbsp;&nbsp;
+        Powered by <strong>
+        [% IF template.name.match('opac-main.tt') %]
+            <a class="koha_url" href="http://koha-community.org">Koha</a>
+        [% ELSE %]
+            <a class="koha_url" rel="nofollow" href="http://koha-community.org">Koha</a>
+        [% END %]
+        </strong>&nbsp;&nbsp;
     </span>
-[% END %]
+    [% END %]
 
 [% END %]