<commit_before><h2><%= _('More about this authority')%></h2>

<% if !public_body.calculated_home_page.nil? %>
  <%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>

<% if !public_body.publication_scheme.blank? %>
  <%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<% end %>

<% unless public_body.disclosure_log.blank? %>
  <%= link_to _('Disclosure log'), public_body.disclosure_log %><br>
<% end %>

<% if public_body.has_tag?('charity') %>
  <% public_body.get_tag_values('charity').each do |tag_value| %>
    <% if tag_value.match(/^SC/) %>
      <%= link_to _('Charity registration'),
                    "https://www.oscr.org.uk/search/charity-details?number=#{ tag_value }" %><br>
    <% else %>
      <%= link_to _('Charity registration'),
                    "http://beta.charitycommission.gov.uk/charity-details/?regid=#{ tag_value }&subid=0" %><br>
    <% end %>
  <% end %>
<% end %>

<% if public_body.has_tag?('mozaikveza') %>
  <% public_body.get_tag_values('mozaikveza').each do |tag_value| %>
    <% if tag_value.match(/(?<=mozaikveza:slug:).*?(?=\s)/) %>
      <%= link_to _('Pogledaj na MozaikVeza.hr'),
                    "https://www.mozaikveza.hr/entity/#{ tag_value }",
                    :onclick => track_analytics_event(
                      AnalyticsEvent::Category::OUTBOUND,
                      AnalyticsEvent::Action::MOZAIK_VEZA_EXIT,
                      :label => 'Authority sidebar') %> %><br>
    <% else %>
      <%= link_to _('Pretraži na MozaikVeza.hr'),
                    "https://www.mozaikveza.hr",
                    :onclick => track_analytics_event(
                      AnalyticsEvent::Category::OUTBOUND,
                      AnalyticsEvent::Action::MOZAIK_VEZA_EXIT,
                      :label => 'Authority sidebar') %><br>
    <% end %><commit_msg>Update _more_info.html.erb<commit_after><h2><%= _('More about this authority')%></h2>

<% if !public_body.calculated_home_page.nil? %>
  <%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>

<% if !public_body.publication_scheme.blank? %>
  <%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<% end %>

<% unless public_body.disclosure_log.blank? %>
  <%= link_to _('Disclosure log'), public_body.disclosure_log %><br>
<% end %>

<% if public_body.has_tag?('charity') %>
  <% public_body.get_tag_values('charity').each do |tag_value| %>
    <% if tag_value.match(/^SC/) %>
      <%= link_to _('Charity registration'),
                    "https://www.oscr.org.uk/search/charity-details?number=#{ tag_value }" %><br>
    <% else %>
      <%= link_to _('Charity registration'),
                    "http://beta.charitycommission.gov.uk/charity-details/?regid=#{ tag_value }&subid=0" %><br>
    <% end %>
  <% end %>
<% end %>

<% if public_body.has_tag?('mozaikveza') %>
  <% public_body.get_tag_values('mozaikveza').each do |tag_value| %>
    <% if tag_value.match(/(?<=mozaikveza:slug:).*?(?=\s)/) %>
      <%= link_to _('Pogledaj na MozaikVeza.hr'),
                    "https://www.mozaikveza.hr/entity/#{ tag_value }",
                    :onclick => track_analytics_event(
                      AnalyticsEvent::Category::OUTBOUND,
                      AnalyticsEvent::Action::MOZAIK_VEZA_EXIT,
                      :label => 'Authority sidebar') %> %><br>
    <% else %>
      <%= link_to _('Pretraži na MozaikVeza.hr (#{ tag_value })'),
                    "https://www.mozaikveza.hr",
                    :onclick => track_analytics_event(
                      AnalyticsEvent::Category::OUTBOUND,
                      AnalyticsEvent::Action::MOZAIK_VEZA_EXIT,
                      :label => 'Authority sidebar') %><br>
    <% end %>
{'fraction_non_alphanumeric': 0.18174603174603174, 'fraction_numerical': 0.0015873015873015873, 'mean_word_length': 2.688780487804878, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 83, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1874269', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1265, 'n_words': 184}