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

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

<% unless @sites.empty? %>
  <h2>Sites</h2>
  <table class="sites table table-hover table-striped table-bordered">
    <thead>
      <tr class="table-header">
        <th scope="col">Old site</th>
        <th scope="col">Transition status</th>
        <th scope="col">Transition date</th>
      </tr>
    </thead>
    <tbody>
    <% @sites.each do |site| %>
      <tr>
        <td>
          <%= link_to site.default_host.hostname, site_path(site), class: 'breakable' %>
          <% if site.organisation != @organisation %>
            <br><span class="text-muted">owned by</span>
            <%= link_to site.organisation.title, site.organisation, class: 'link-muted breakable' %>
          <% end %>
        </td>
        <td>
          <%= render partial: 'sites/transition_status', locals: {site: site} %>
        </td>
        <td><%= date_or_not_yet(site.launch_date) %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
<% end %>

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

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

<% unless @sites.empty? %>
  <h2>Sites</h2>
  <table class="sites table table-hover table-striped table-bordered">
    <thead>
      <tr class="table-header">
        <th scope="col">Old site</th>
        <th scope="col">Transition status</th>
        <th scope="col">Transition date</th>
      </tr>
    </thead>
    <tbody>
    <% @sites.each do |site| %>
      <tr>
        <td>
          <%= link_to site.default_host.hostname, site_path(site), class: 'breakable' %>
          <% if site.organisation != @organisation %>
            <br><span class="text-muted">owned by</span>
            <%= link_to site.organisation.title, site.organisation, class: 'link-muted' %>
          <% end %>
        </td>
        <td>
          <%= render partial: 'sites/transition_status', locals: {site: site} %>
        </td>
        <td><%= date_or_not_yet(site.launch_date) %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
<% end %>

Remove 'breakable' class from org title
Remove 'breakable' class from org title

This class allows URLs to split at a . if they are too long for a
single line, rather than only on spaces. Since organisation titles
have spaces in them we don't need this class here.
