Commit c27f37712bd4456ab60eb76a52f6db9a51a456fc
1 parent
6c2fc52a
Exists in
master
and in
1 other branch
Renamed the last 'errs' to 'Errors'
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/views/apps/show.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | = auto_discovery_link_tag :atom, app_url(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{root_url}" | 3 | = auto_discovery_link_tag :atom, app_url(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{root_url}" |
4 | = javascript_include_tag 'apps.show' | 4 | = javascript_include_tag 'apps.show' |
5 | - content_for :meta do | 5 | - content_for :meta do |
6 | - %strong Errs Caught: | 6 | + %strong Errors Caught: |
7 | = @app.problems.count | 7 | = @app.problems.count |
8 | %strong Deploy Count: | 8 | %strong Deploy Count: |
9 | = @app.deploys.count | 9 | = @app.deploys.count |
@@ -83,7 +83,7 @@ | @@ -83,7 +83,7 @@ | ||
83 | %h3 No deploys | 83 | %h3 No deploys |
84 | 84 | ||
85 | - if @app.problems.any? | 85 | - if @app.problems.any? |
86 | - %h3.clear Errs | 86 | + %h3.clear Errors |
87 | = render 'errs/table', :errs => @problems | 87 | = render 'errs/table', :errs => @problems |
88 | - else | 88 | - else |
89 | %h3.clear No errs have been caught yet, make sure you setup your app | 89 | %h3.clear No errs have been caught yet, make sure you setup your app |
app/views/errs/show.html.haml
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | 22 | ||
23 | - if Errbit::Config.allow_comments_with_issue_tracker || !@app.issue_tracker_configured? || @problem.comments.any? | 23 | - if Errbit::Config.allow_comments_with_issue_tracker || !@app.issue_tracker_configured? || @problem.comments.any? |
24 | - content_for :comments do | 24 | - content_for :comments do |
25 | - %h3 Comments on this Err | 25 | + %h3 Comments |
26 | - @problem.comments.each do |comment| | 26 | - @problem.comments.each do |comment| |
27 | .window | 27 | .window |
28 | %table.comment | 28 | %table.comment |