diff --git a/core/app/assets/stylesheets/refinery/layout.css.scss b/core/app/assets/stylesheets/refinery/layout.css.scss
index 864d5c5f4c..ddd6cd6bec 100644
--- a/core/app/assets/stylesheets/refinery/layout.css.scss
+++ b/core/app/assets/stylesheets/refinery/layout.css.scss
@@ -230,6 +230,9 @@ a:hover {
padding: 0px;
a {
border-bottom: 1px dotted #727272;
+ &.locale {
+ border-bottom: 0;
+ }
}
h1 {
font-size: 18px;
diff --git a/pages/app/views/refinery/admin/pages/_page.html.erb b/pages/app/views/refinery/admin/pages/_page.html.erb
index d2675aa16b..2093e5a1cb 100644
--- a/pages/app/views/refinery/admin/pages/_page.html.erb
+++ b/pages/app/views/refinery/admin/pages/_page.html.erb
@@ -8,16 +8,16 @@
'>
<%= page.title_with_meta.html_safe %>
- <% if Refinery.i18n_enabled? and Refinery::I18n.frontend_locales.many? %>
-
- <% page.translations.each do |translation| %>
- <%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'),
- refinery.edit_admin_page_path(page, :switch_locale => translation.locale),
- :class => 'locale' if translation.title.present? %>
- <% end %>
-
- <% end %>
+ <% if Refinery.i18n_enabled? and Refinery::I18n.frontend_locales.many? %>
+
+ <% page.translations.each do |translation| %>
+ <%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'),
+ refinery.edit_admin_page_path(page, :switch_locale => translation.locale),
+ :class => 'locale' if translation.title.present? %>
+ <% end %>
+
+ <% end %>
<%= link_to refinery_icon_tag('application_go.png'),