<% if location.limited_availability? %>
  <div class="notice notice--extra-spacing">
    <i class="icon icon-information">
      <span class="visually-hidden">Info</span>
    </i>
    <strong class="small">Limited appointment availability</strong>
  </div>
<% end %>

<% if location.online_booking_enabled? %>
  <% if location.slots_available? %>
    <% if agent? %>
      <p><%= link_to 'Book on behalf of customer', agent_booking_path(location.id), class: 'button button--primary t-agent-book-online', target: '_blank' %></p>
    <% else %>
      <p>
        <%= link_to 'Book online', booking_request_step_one_location_path(location.id), class: 'button button--primary  t-book-online' %>
      </p>
    <% end %>
    <p>
      Or call <strong class="t-phone"><%= location.phone %></strong>.
    </p>
  <% else %>
    <div class="notice notice--extra-spacing">
      <i class="icon icon-information">
        <span class="visually-hidden">Info</span>
      </i>
      <strong class="small">No appointment availability</strong>
    </div>
  <% end %>
<% else %>
  <p>
    Call <strong class="t-phone"><%= location.phone %></strong>.
  </p>
<% end %>

<% if location.limited_availability? %>
  <div class="notice notice--extra-spacing">
    <i class="icon icon-information">
      <span class="visually-hidden">Info</span>
    </i>
    <strong class="small">Limited appointment availability</strong>
  </div>
<% end %>

<% if location.online_booking_enabled? %>
  <% if location.slots_available? %>
    <% if agent? %>
      <p><%= link_to 'Book on behalf of customer', agent_booking_path(location.id), class: 'button button--primary t-agent-book-online', target: '_blank' %></p>
    <% else %>
      <p>
        <%= link_to 'Book online', booking_request_step_one_location_path(location.id), class: 'button button--primary  t-book-online' %>
      </p>
    <% end %>
  <% else %>
    <div class="notice notice--extra-spacing">
      <i class="icon icon-information">
        <span class="visually-hidden">Info</span>
      </i>
      <strong class="small">No appointment availability</strong>
    </div>
  <% end %>
<% else %>
  <p>
    Call <strong class="t-phone"><%= location.phone %></strong>.
  </p>
<% end %>

Remove reference to calling to book
Remove reference to calling to book
