Bug 8979 - simple addition of news to CCSR theme
authorLiz Rea <liz@catalyst.net.nz>
Mon, 25 Feb 2013 01:46:55 +0000 (14:46 +1300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 19 Mar 2013 12:46:30 +0000 (08:46 -0400)
Nothing fancy, just displays the news in the mobile view.

To test:

enable CCSR theme
ensure you have a news item that will be displayed on the home page
browse to your test site with a mobile phone - news item should be displayed (without the patch it will not be displayed)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Works as described. No errors.

Note: Perhaps 'Persona' login could be hidden in movile view.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>

koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css

index 58da8bd..c59ecd7 100644 (file)
@@ -10,7 +10,6 @@ body#opac-main #login,
 body#opac-main #login~div,
 body#opac-main #opacnav,
 body#opac-main #opacmainuserblock,
-body#opac-main #news,
 body#results #facetcontainer,
 body#opac-detail #ulactioncontainer>:not(#action),
 body#opac-detail #ulactioncontainer #action a:not(.reserve),
@@ -109,6 +108,11 @@ body#opac-main #opacmainuserblockmobile {
     display: block;
 }
 
+#news.container {
+    display: block;
+    margin: 0em;
+}
+
 
 
 /* Results */