diff --git a/app/views/apps/show.html.haml b/app/views/apps/show.html.haml index a11a2d3..07143a3 100644 --- a/app/views/apps/show.html.haml +++ b/app/views/apps/show.html.haml @@ -17,7 +17,7 @@ = link_to 'unresolved errs', app_path(@app), :class => 'button' - else = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button' - + = link_to 'unwatch', app_watcher_path({:app_id => @app, :id => current_user.id}), :method => :delete, :class => 'button', :confirm => 'Are you sure?' %h3#watchers_toggle Watchers %span.click_span (show/hide) @@ -32,14 +32,10 @@ %thead %tr %th User or Email - %th %tbody - @app.watchers.each do |watcher| %tr - %td - = watcher.label - %td - = link_to 'unsubscribe', app_watcher_path({:app_id => @app, :id => watcher.id}), :method => :delete, :class => 'button', :confirm => 'Are you sure?' + %td= watcher.label - if @app.watchers.none? %tr %td -- libgit2 0.21.2