diff options
author | David Cabo <david@calibea.com> | 2011-08-23 00:51:28 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-23 00:51:28 +0200 |
commit | 1d41866cd8a93e28bf8cdbcc1745d2d2fd037c6f (patch) | |
tree | 7ba9732116eeab37aabcc127d16e0cc954a49844 | |
parent | 349163c4de2d0cfe52c12ef41dae62f8555cf9c3 (diff) |
Move logo to separate file to support theming
-rw-r--r-- | app/views/general/_orglink.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/general/_orglink.rhtml b/app/views/general/_orglink.rhtml index 20d0d6ce4..7d74dbaac 100644 --- a/app/views/general/_orglink.rhtml +++ b/app/views/general/_orglink.rhtml @@ -1,2 +1,2 @@ <%-# Put the link to your organisation here, or leave blank -%> -<a href="http://www.alaveteli.org">an Alaveteli site</a> +<%= link_to image_tag('logo.png'), frontpage_url, :id=>'logo' %> diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index b754a70bd..2c52abce2 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -91,7 +91,7 @@ <% end %> </div> - <%= link_to image_tag('logo.png'), frontpage_url, :id=>'logo' %> + <%= render :partial => 'general/orglink' %> <div id="topnav"> <ul id="navigation"> |