- if @user == current_user
  %h1 Scrapers watched by you
- else
  %h1 Scrapers watched by #{@user.nickname}

%p
  For scrapers in this list that are set to run automatically, if any error then
  - if @user == current_user
    you
  - else
    = @user.nickname
  will receive an email alert at most once per day.
  This makes it very easy to fix any problems quickly.

%h2 Individual scrapers
.list-group= render @user.scrapers_watched

- @user.users_watched.each do |user|
  %h2= link_to user.nickname, user
  .list-group= render user.scrapers

- @user.organizations_watched.each do |organization|
  %h2= link_to organization.nickname, organization
  .list-group= render organization.scrapers



- if @user == current_user
  %h1 Scrapers watched by you
- else
  %h1 Scrapers watched by #{@user.nickname}

%p
  For scrapers in this list that are set to run automatically, if any error then
  - if @user == current_user
    you
  - else
    = @user.nickname
  will receive an email alert at most once per day.
  This makes it very easy to fix any problems quickly.

%h2 Individual scrapers
.list-group
  - @user.scrapers_watched.each do |scraper|
    .row
      .col-md-11= render scraper
      .col-md-1
        - if @user == current_user
          = render partial: "scrapers/watch_button", locals: {scraper: scraper}

- @user.users_watched.each do |user|
  .row
    .col-md-11
      %h2= link_to user.nickname, user
    .col-md-1
      - if @user == current_user
        = render partial: "owners/watch_button", locals: {owner: user}
  .row
    .col-md-11
      .list-group= render user.scrapers

- @user.organizations_watched.each do |organization|
  .row
    .col-md-11
      %h2= link_to organization.nickname, organization
    .col-md-1
      - if @user == current_user
        = render partial: "owners/watch_button", locals: {owner: organization}
  .row
    .col-md-11
      .list-group= render organization.scrapers



Add unwatch buttons to watching
Add unwatch buttons to watching
