diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin_user/_form.rhtml | 2 | ||||
-rw-r--r-- | app/views/admin_user/list.rhtml | 2 | ||||
-rw-r--r-- | app/views/general/_locale_switcher.rhtml | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/app/views/admin_user/_form.rhtml b/app/views/admin_user/_form.rhtml index 767427b3e..ba2bd8f8b 100644 --- a/app/views/admin_user/_form.rhtml +++ b/app/views/admin_user/_form.rhtml @@ -15,7 +15,7 @@ user from filing new requests, making annotations or messaging other users; the text is shown in public on the user's page and when they try to do a forbidden action; write in the second person (you); see - <%= link_to 'banned users', '../list_banned' %> for examples</small>)<br/> + <%= link_to 'banned users', '../banned' %> for examples</small>)<br/> <%= text_area 'admin_user', 'ban_text', :cols => 60, :rows => 3 %></p> diff --git a/app/views/admin_user/list.rhtml b/app/views/admin_user/list.rhtml index 3803598e8..9de381ecc 100644 --- a/app/views/admin_user/list.rhtml +++ b/app/views/admin_user/list.rhtml @@ -6,7 +6,7 @@ <p> <%= text_field_tag 'query', params[:query], { :size => 30 } %> <%= submit_tag "Search" %> (substring search, names and emails) - <%= link_to 'Banned users', 'list_banned' %> + <%= link_to 'Banned users', 'banned' %> </p> <% end %> diff --git a/app/views/general/_locale_switcher.rhtml b/app/views/general/_locale_switcher.rhtml index c884ff6f1..27e492e84 100644 --- a/app/views/general/_locale_switcher.rhtml +++ b/app/views/general/_locale_switcher.rhtml @@ -1,4 +1,4 @@ - <% if FastGettext.default_available_locales.length > 1 %> + <% if FastGettext.default_available_locales.length > 1 && !params.empty? %> <div id="user_locale_switcher"> <% for possible_locale in FastGettext.default_available_locales %> <% if possible_locale == I18n.locale.to_s %> @@ -9,5 +9,3 @@ <% end %> </div> <% end %> - -<div class="spacer"></div> |