From 7fb52ff1472808a3c5a253a0e0f973bff96cd138 Mon Sep 17 00:00:00 2001 From: Bob Lail Date: Sat, 10 Sep 2011 15:56:30 -0500 Subject: [PATCH] rename 'Errs' to 'Errors' in the UI --- app/views/apps/index.html.haml | 2 +- app/views/errs/all.html.haml | 4 ++-- app/views/errs/index.html.haml | 4 ++-- app/views/shared/_navigation.html.haml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/apps/index.html.haml b/app/views/apps/index.html.haml index f21121e..4105526 100644 --- a/app/views/apps/index.html.haml +++ b/app/views/apps/index.html.haml @@ -7,7 +7,7 @@ %tr %th Name %th Last Deploy - %th Errs + %th Errors %tbody - @apps.each do |app| %tr diff --git a/app/views/errs/all.html.haml b/app/views/errs/all.html.haml index 06b41cc..de9a42f 100644 --- a/app/views/errs/all.html.haml +++ b/app/views/errs/all.html.haml @@ -1,4 +1,4 @@ -- content_for :title, 'All Errs' +- content_for :title, 'All Errors' - content_for :action_bar do = link_to 'hide resolved', errs_path, :class => 'button' -= render 'table', :errs => @problems \ No newline at end of file += render 'table', :errs => @problems diff --git a/app/views/errs/index.html.haml b/app/views/errs/index.html.haml index f4db666..7b15895 100644 --- a/app/views/errs/index.html.haml +++ b/app/views/errs/index.html.haml @@ -1,6 +1,6 @@ -- content_for :title, 'Unresolved Errs' +- content_for :title, 'Unresolved Errors' - content_for :head do = auto_discovery_link_tag :atom, errs_url(User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices at #{root_url}" - content_for :action_bar do = link_to 'show resolved', all_errs_path, :class => 'button' -= render 'table', :errs => @problems \ No newline at end of file += render 'table', :errs => @problems diff --git a/app/views/shared/_navigation.html.haml b/app/views/shared/_navigation.html.haml index 128da93..518f412 100644 --- a/app/views/shared/_navigation.html.haml +++ b/app/views/shared/_navigation.html.haml @@ -2,7 +2,7 @@ %ul //%li= link_to 'Dashboard', admin_dashboard_path, :class => active_if_here(:dashboards) %li.apps{:class => active_if_here(:apps)}= link_to 'Apps', apps_path - %li.errs{:class => active_if_here(:errs)}= link_to 'Errs', errs_path + %li.errs{:class => active_if_here(:errs)}= link_to 'Errors', errs_path - if user_signed_in? && current_user.admin? %li.users{:class => active_if_here(:users)}= link_to 'Users', users_path %div.clear \ No newline at end of file -- libgit2 0.21.2