Commit 53b9eee80164f22bd47a2d4e8f6f8eb088686918

Authored by Vasiliy Ermolovich
2 parents 0d16f2af cab23fb3
Exists in master and in 1 other branch production

Merge pull request #247 from cjc343/patch_all_errs

Dedent all errs button so it appears for non-admins on individual app pages
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/views/apps/show.html.haml
... ... @@ -12,10 +12,10 @@
12 12 - if current_user.admin?
13 13 = link_to 'edit', edit_app_path(@app), :class => 'button'
14 14 = link_to 'destroy', app_path(@app), :method => :delete, :data => { :confirm => 'Seriously?' }, :class => 'button'
15   - - if @all_errs
16   - = link_to 'unresolved errs', app_path(@app), :class => 'button'
17   - - else
18   - = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button'
  15 + - if @all_errs
  16 + = link_to 'unresolved errs', app_path(@app), :class => 'button'
  17 + - else
  18 + = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button'
19 19  
20 20 %h3#watchers_toggle
21 21 Watchers
... ...