<%= breadcrumb(@organisation) %>
<%= content_for :page_title, @organisation.title %>

<header>
  <h1 class="page-header">
    <%= @organisation.title %>
  </h1>
  <%= render 'in_conjunction_with' %>
</header>

<% if current_user.can_edit?(@organisation) %>
  <p class="alert alert-block alert-info">
    You have permission to edit site mappings for <i><%= @organisation.title %></i>.
  </p>
<% end %>

<% unless @sites.empty? %>
  <h2>Sites</h2>
  <table class="sites table table-bordered">
    <thead>
    <tr>
      <th>Abbreviation</th>
      <th>Hits</th>
      <th>Homepage</th>
    </tr>
    </thead>
    <tbody>
    <% @sites.each do |site| %>
      <tr>
        <td><%= link_to "#{site.abbr} Mappings", site_mappings_path(site) %></td>
        <td><%= link_to 'Hits Summary', summary_site_hits_path(site) %></td>
        <td><%= link_to site.homepage, site.homepage %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
<% end %>

<%= breadcrumb(@organisation) %>
<%= content_for :page_title, @organisation.title %>

<header>
  <h1 class="page-header">
    <%= @organisation.title %>
  </h1>
  <%= render 'in_conjunction_with' %>
</header>

<% if current_user.can_edit?(@organisation) %>
  <p class="alert alert-block alert-info">
    You have permission to edit site mappings for <i><%= @organisation.title %></i>.
  </p>
<% end %>

<% unless @organisation.sites.empty? %>
  <h2>Sites</h2>
  <table class="sites table table-bordered">
    <thead>
      <tr>
        <th>Old Site Homepage</th>
        <th>Mappings</th>
        <th>Analytics</th>
        <th>New Site Homepage</th>
      </tr>
    </thead>
    <tbody>
    <% @sites.each do |site| %>
      <tr>
        <td><%= site.default_host.hostname %></td>
        <td><%= link_to "Mappings", site_mappings_path(site) %></td>
        <td><%= link_to 'Analytics', summary_site_hits_path(site) %></td>
        <td><%= link_to site.homepage, site.homepage %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
<% end %>

Clarify that sites table is a list of sites
Clarify that sites table is a list of sites

- Story #60347762
- Added old site domain to sites table
- Changed "Hits summary" to "Analytics"
- Removed site abbreviation from Mappings
