diff options
Diffstat (limited to 'app/views/general/_footer.html.erb')
-rw-r--r-- | app/views/general/_footer.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/general/_footer.html.erb b/app/views/general/_footer.html.erb index 990093694..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 %> -| <img src="/images/twitter-16.png" alt="twitter icon" class="twitter-icon"> <a href="https://twitter.com/<%= AlaveteliConfiguration::twitter_username %>"><%= _("Follow us on twitter") %></a> +<% 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> |