app/views/layouts/admin.html.erb in tkh_admin_panel-0.1 vs app/views/layouts/admin.html.erb in tkh_admin_panel-0.1.1
- old
+ new
@@ -3,11 +3,11 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
<% if defined?(APP_SETTINGS) && APP_SETTINGS['site_name'] %>
- <%= t("admin_panel_for") + APP_SETTINGS['site_name'] %>
+ <%= t("admin_panel_for") + ' ' + APP_SETTINGS['site_name'] %>
<% else %>
<%= t 'admin_panel' %>
<% end %>
</title>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
@@ -30,10 +30,10 @@
<div class="row-fluid">
<div class="span12">
<%= render 'shared/login_info' %>
<h1>
<% if defined?(APP_SETTINGS) && APP_SETTINGS['site_name'] %>
- <%= (t("admin_panel_for") + link_to(APP_SETTINGS['site_name'], root_path)).html_safe %>
+ <%= (t("admin_panel_for") + ' ' + link_to(APP_SETTINGS['site_name'], root_path)).html_safe %>
<% else %>
<%= t 'admin_panel' %>
<% end %>
</h1>