Commit 2a0c407d4432f2cd672c3e93ffed83934194e4ea

Authored by Andrey Subbota
1 parent 053b2243
Exists in master and in 1 other branch production

Minor fix

Showing 1 changed file with 2 additions and 6 deletions   Show diff stats
app/views/apps/show.html.haml
... ... @@ -17,7 +17,7 @@
17 17 = link_to 'unresolved errs', app_path(@app), :class => 'button'
18 18 - else
19 19 = link_to 'all errs', app_path(@app, :all_errs => true), :class => 'button'
20   -
  20 + = link_to 'unwatch', app_watcher_path({:app_id => @app, :id => current_user.id}), :method => :delete, :class => 'button', :confirm => 'Are you sure?'
21 21 %h3#watchers_toggle
22 22 Watchers
23 23 %span.click_span (show/hide)
... ... @@ -32,14 +32,10 @@
32 32 %thead
33 33 %tr
34 34 %th User or Email
35   - %th
36 35 %tbody
37 36 - @app.watchers.each do |watcher|
38 37 %tr
39   - %td
40   - = watcher.label
41   - %td
42   - = link_to 'unsubscribe', app_watcher_path({:app_id => @app, :id => watcher.id}), :method => :delete, :class => 'button', :confirm => 'Are you sure?'
  38 + %td= watcher.label
43 39 - if @app.watchers.none?
44 40 %tr
45 41 %td
... ...