Commit 7fb52ff1472808a3c5a253a0e0f973bff96cd138
1 parent
8a9001fd
Exists in
master
and in
1 other branch
rename 'Errs' to 'Errors' in the UI
Showing
4 changed files
with
6 additions
and
6 deletions
Show diff stats
app/views/apps/index.html.haml
app/views/errs/all.html.haml
1 | -- content_for :title, 'All Errs' | 1 | +- content_for :title, 'All Errors' |
2 | - content_for :action_bar do | 2 | - content_for :action_bar do |
3 | = link_to 'hide resolved', errs_path, :class => 'button' | 3 | = link_to 'hide resolved', errs_path, :class => 'button' |
4 | -= render 'table', :errs => @problems | ||
5 | \ No newline at end of file | 4 | \ No newline at end of file |
5 | += render 'table', :errs => @problems |
app/views/errs/index.html.haml
1 | -- content_for :title, 'Unresolved Errs' | 1 | +- content_for :title, 'Unresolved Errors' |
2 | - content_for :head do | 2 | - content_for :head do |
3 | = auto_discovery_link_tag :atom, errs_url(User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices at #{root_url}" | 3 | = auto_discovery_link_tag :atom, errs_url(User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices at #{root_url}" |
4 | - content_for :action_bar do | 4 | - content_for :action_bar do |
5 | = link_to 'show resolved', all_errs_path, :class => 'button' | 5 | = link_to 'show resolved', all_errs_path, :class => 'button' |
6 | -= render 'table', :errs => @problems | ||
7 | \ No newline at end of file | 6 | \ No newline at end of file |
7 | += render 'table', :errs => @problems |
app/views/shared/_navigation.html.haml
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | %ul | 2 | %ul |
3 | //%li= link_to 'Dashboard', admin_dashboard_path, :class => active_if_here(:dashboards) | 3 | //%li= link_to 'Dashboard', admin_dashboard_path, :class => active_if_here(:dashboards) |
4 | %li.apps{:class => active_if_here(:apps)}= link_to 'Apps', apps_path | 4 | %li.apps{:class => active_if_here(:apps)}= link_to 'Apps', apps_path |
5 | - %li.errs{:class => active_if_here(:errs)}= link_to 'Errs', errs_path | 5 | + %li.errs{:class => active_if_here(:errs)}= link_to 'Errors', errs_path |
6 | - if user_signed_in? && current_user.admin? | 6 | - if user_signed_in? && current_user.admin? |
7 | %li.users{:class => active_if_here(:users)}= link_to 'Users', users_path | 7 | %li.users{:class => active_if_here(:users)}= link_to 'Users', users_path |
8 | %div.clear | 8 | %div.clear |
9 | \ No newline at end of file | 9 | \ No newline at end of file |