<%= content_tag 'tr',
    class: link.updated? ? 'success' : '',
    data: link.row_data do
%>
  <td class="analytics"><span><%= link.analytics.to_i %></span>this week</td>
  <td class="links">
    <div class="local-authority"><%= link.local_authority.name %></div>
    <div class="govuk"><%= link.govuk_title || link.service_label %>
      <span class='code'>code: <%= link.service_interaction.lgsl_code %></span>
    </div>
    <div class="detail-links">
      <a href="https://www.gov.uk/<%= link.service_interaction.govuk_slug %>">GOV.UK</a> &rarr;
      <% if link.url %>
        <%= link_to truncate(link.url, length: 80), link.url %>
      <% else %>
        <%= link_to "No URL", link.local_authority.homepage_url %>
      <% end %>
    </div>
  </td>
  <td class="status text-right">
    <div class="<%= link.label_status_class %>">
        <b><%= link.status_description %></b>
    </div>
    <span><%= link.last_checked %></span>
  </td>
  <td class="text-center">
    <%= link_to("Edit link", link.edit_path, class: "btn btn-default btn-lg") %>
  </td>
<% end %>

<%= content_tag 'tr',
    class: link.updated? ? 'success' : '',
    data: link.row_data do
%>
  <td class="analytics"><span><%= link.analytics.to_i %></span>visits this week</td>
  <td class="links">
    <div class="local-authority"><%= link.local_authority.name %></div>
    <div class="govuk"><%= link.govuk_title || link.service_label %>
      <span class='code'>code: <%= link.service_interaction.lgsl_code %></span>
    </div>
    <div class="detail-links">
      <a href="https://www.gov.uk/<%= link.service_interaction.govuk_slug %>">GOV.UK</a> &rarr;
      <% if link.url %>
        <%= link_to truncate(link.url, length: 80), link.url %>
      <% else %>
        <%= link_to "No URL", link.local_authority.homepage_url %>
      <% end %>
    </div>
  </td>
  <td class="status text-right">
    <div class="<%= link.label_status_class %>">
        <b><%= link.status_description %></b>
    </div>
    <span><%= link.last_checked %></span>
  </td>
  <td class="text-center">
    <%= link_to("Edit link", link.edit_path, class: "btn btn-default btn-lg") %>
  </td>
<% end %>

Make it clearer that we show visits to broken links
Make it clearer that we show visits to broken links

Content Support weren't aware that we show in the number of visits to broken links in Local Links Manager. They use that information to try and prioritise which broken links to work on.

This small change makes it clear how many visits have resulted in broken links.