From cab23fb3fbe9887e320d1b7b233f622b8c684c31 Mon Sep 17 00:00:00 2001 From: Christopher Creighton Date: Thu, 13 Sep 2012 15:31:57 -0700 Subject: [PATCH] Dedent all errs button so it appears for non-admins on individual app pages --- app/views/apps/show.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/apps/show.html.haml b/app/views/apps/show.html.haml index 9ecfb4b..b7bf7ba 100644 --- a/app/views/apps/show.html.haml +++ b/app/views/apps/show.html.haml @@ -12,10 +12,10 @@ - if current_user.admin? = link_to 'edit', edit_app_path(@app), :class => 'button' = link_to 'destroy', app_path(@app), :method => :delete, :data => { :confirm => 'Seriously?' }, :class => 'button' - - if @all_errs - = link_to 'unresolved errs', app_path(@app), :class => 'button' - - else - = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button' + - if @all_errs + = link_to 'unresolved errs', app_path(@app), :class => 'button' + - else + = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button' %h3#watchers_toggle Watchers -- libgit2 0.21.2