improve footer template, if empty

This commit is contained in:
Alexander Meindl 2014-10-01 20:50:08 +02:00
parent 35d0967a04
commit 69b44e969a

View File

@ -1,6 +1,6 @@
<%
footer = Setting.plugin_redmine_tweaks['global_footer']
%>
<% unless footer.nil? %>
<% unless footer.nil? || footer.empty? %>
<div class="tweak-footer"><%= textilizable(footer).html_safe %></div>
<% end %>