Commit cab23fb3fbe9887e320d1b7b233f622b8c684c31
1 parent
0d16f2af
Exists in
master
and in
1 other branch
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 | ... | ... |