[Xfce4-commits] <archive:master> Put footer in seperate div.

Nick Schermer noreply at xfce.org
Sun Jul 14 18:32:02 CEST 2013


Updating branch refs/heads/master
         to 7f8e2ae8cdd78b8de3e4a14fcf817349dda31729 (commit)
       from 6d3db3746b783e1db10dcd90a1d67527d4cea225 (commit)

commit 7f8e2ae8cdd78b8de3e4a14fcf817349dda31729
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jul 14 18:30:03 2013 +0200

    Put footer in seperate div.

 examples/archive.xfce.org/mb_footer.html |    7 +++++--
 lib/views/layout.haml                    |    6 ++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/examples/archive.xfce.org/mb_footer.html b/examples/archive.xfce.org/mb_footer.html
index 2ab871f..53f9f93 100644
--- a/examples/archive.xfce.org/mb_footer.html
+++ b/examples/archive.xfce.org/mb_footer.html
@@ -1,4 +1,7 @@
-  <hr />
-  <a href="http://mirrorbrain.org/" title="Powered by MirrorBrain"><img src="/public/mb.png" alt="MirrorBrain" border="0" align="right" /></a>
+
+  <div id="mirrorbrain-footer">
+    <hr />
+    <a href="http://mirrorbrain.org/" title="Powered by MirrorBrain"><img src="/public/mb.png" alt="MirrorBrain" border="0" align="right" /></a>
+  </div>
 </div>
 </body></html>
diff --git a/lib/views/layout.haml b/lib/views/layout.haml
index 203d402..366c869 100644
--- a/lib/views/layout.haml
+++ b/lib/views/layout.haml
@@ -28,14 +28,16 @@
           %li
             %a{:href => 'http://blog.xfce.org', :title => 'Visit the blog'} Blog
           %li
-            %a{:href => 'http://translations.xfce.org', :title => 'Help translating the Xfce project'} Translate
+            %a{:href => 'http://www.xfce.org/getinvolved/translation', :title => 'Help translating the Xfce project'} Translate
           %li
             %a{:href => 'http://git.xfce.org', :title => 'Project repositories'} GIT
       %div{:id => 'xfce-header-clear'}
     - if @notice
       %div{:class => 'notify'} #{@notice}
     %div{:id => 'mirrorbrain-wrap'}
-      =yield
+      %div{:id => 'mirrorbrain-details'}
+        =yield
+    %div{:id => 'mirrorbrain-footer'}
       %hr
       %a{:href => '/howtomirror'} Become a mirror!
       %a{:href => 'http://mirrorbrain.org', :title => 'Powered by MirrorBrain'}


More information about the Xfce4-commits mailing list