diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-12-05 15:23:51 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-12-09 12:19:42 +0000 |
commit | 71746d1a486e8c5f6d5107376256ef8c1b8c9902 (patch) | |
tree | 061910844840dd0f56c82abd99e57387408166ec | |
parent | d35b7fec9ad723496c95791ae314964f4d3360dd (diff) |
Only show the twitter link if an account is configured.
-rw-r--r-- | app/views/general/_footer.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/general/_footer.html.erb b/app/views/general/_footer.html.erb index 04c60be3d..2e10a0f94 100644 --- a/app/views/general/_footer.html.erb +++ b/app/views/general/_footer.html.erb @@ -1,6 +1,8 @@ <div id="footer"> <%= link_to _("Contact {{site_name}}", :site_name => site_name), help_contact_path %> +<% unless AlaveteliConfiguration::twitter_username.blank? %> | <%= image_tag "twitter-16.png", :alt => "twitter icon", :class => "twitter-icon" %> <a href="https://twitter.com/<%= AlaveteliConfiguration::twitter_username %>"><%= _("Follow us on twitter") %></a> +<% end %> <%= render :partial => 'general/credits' %> </div> <div class="after-footer"> </div> |