<% if @petition.is_a?(::Archived::Petition) %>
  <%= link_to 'Departments', admin_archived_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% else %>
  <%= link_to 'Departments', admin_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% end %>

<% if @petition.is_a?(::Archived::Petition) %>
  <%= link_to 'Departments', admin_archived_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% elsif @petition.departments? %>
  <%= link_to 'Departments', admin_petition_departments_path(@petition), class: 'petition-action-heading present' %>
<% else %>
  <%= link_to 'Departments', admin_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% end %>

Add presence indicator to departments too
Add presence indicator to departments too
