<commit_before>[% 
    PROCESS "report/photo-js.html";
    PROCESS "maps/${map.type}.html";

    problem_title = problem.title _ ' - ' _ loc('Viewing a problem');
    INCLUDE 'header.html'
        title = problem_title
        rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ]
        robots = 'index, nofollow'
        bodyclass = 'mappage';
%]

[% map_html %]

  [% IF c.cobrand.moniker == 'zurich' %]
    <p id='sub_map_links'>
        <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
    </p>
  [% END %]

</div>

[% INCLUDE 'report/banner.html' %]

[% INCLUDE 'report/_main.html' %]
[% TRY %][% INCLUDE 'report/_message_manager.html' %][% CATCH file %][% END %]

<div class="shadow-wrap">
    <ul id="key-tools">
        [% IF c.user_exists AND c.cobrand.users_can_hide AND c.user.belongs_to_body( c.cobrand.council_id ) %]
        <li><form method="post" action="/report/delete/[% problem.id %]">
            <input type="submit" id="key-tool-report-abuse" class="abuse" value="Remove from site">
        </form></li>
        [% ELSIF c.cobrand.moniker != 'zurich' %]
        <li><a rel="nofollow" id="key-tool-report-abuse" class="abuse" href="[% c.uri_for( '/contact', { id => problem.id } ) %]">[% loc('Report abuse' ) %]</a></li>
        [% END %]
        [% IF c.cobrand.moniker != 'zurich' %]
        <li><a rel="nofollow" id="key-tool-report-updates" class="feed" href="[% c.uri_for( '/alert/subscribe', { id => problem.id } ) %]">[% loc('Get updates' ) %]</a></li>
        [% END %]
        [% IF c.cobrand.moniker == 'fixmystreet' %]
        <li><a rel="nofollow" id="key-tool-report-share" class="share" href="#report-share">[% loc('Share') %]</a></li>
        [% END %]
        <li><a class="chevron" id="key-tool-problems-nearby" href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'Problems nearby' ) %]</a></li>
    </ul>

[% IF c.cobrand.moniker == 'fixmystreet' %]
    <div id="report-share" class="hidden-js" align="center">
        <a href="https://twitter.com/share" class="twitter-share-button" data-text="I just reported &lsquo;[% problem.title | html %]&rsquo;" data-via="fixmystreet" data-related="mysociety" data-count="none" data-dnt="true">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
        <iframe src="//www.facebook.com/plugins/like.php?href=[% c.req.uri | uri %]&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
    </div>
[% END %]

<div id="report-updates-data" class="hidden-js">
    <form action="[% c.uri_for( '/alert/subscribe' ) %]" method="post">
        <a href="[% c.uri_for( '/rss', problem.id ) %]">
            <img src="/i/feed.png" width="16" height="16" title="[% loc('RSS feed') %]" alt="[% loc('RSS feed of updates to this problem' ) %]" border="0">
        </a><commit_msg>Use problems on the map text on Zurich.<commit_after>[% 
    PROCESS "report/photo-js.html";
    PROCESS "maps/${map.type}.html";

    problem_title = problem.title _ ' - ' _ loc('Viewing a problem');
    INCLUDE 'header.html'
        title = problem_title
        rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ]
        robots = 'index, nofollow'
        bodyclass = 'mappage';
%]

[% map_html %]

  [% IF c.cobrand.moniker == 'zurich' %]
    <p id='sub_map_links'>
        <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
    </p>
  [% END %]

</div>

[% INCLUDE 'report/banner.html' %]

[% INCLUDE 'report/_main.html' %]
[% TRY %][% INCLUDE 'report/_message_manager.html' %][% CATCH file %][% END %]

<div class="shadow-wrap">
    <ul id="key-tools">
        [% IF c.user_exists AND c.cobrand.users_can_hide AND c.user.belongs_to_body( c.cobrand.council_id ) %]
        <li><form method="post" action="/report/delete/[% problem.id %]">
            <input type="submit" id="key-tool-report-abuse" class="abuse" value="Remove from site">
        </form></li>
        [% ELSIF c.cobrand.moniker != 'zurich' %]
        <li><a rel="nofollow" id="key-tool-report-abuse" class="abuse" href="[% c.uri_for( '/contact', { id => problem.id } ) %]">[% loc('Report abuse' ) %]</a></li>
        [% END %]
        [% IF c.cobrand.moniker != 'zurich' %]
        <li><a rel="nofollow" id="key-tool-report-updates" class="feed" href="[% c.uri_for( '/alert/subscribe', { id => problem.id } ) %]">[% loc('Get updates' ) %]</a></li>
        [% END %]
        [% IF c.cobrand.moniker == 'fixmystreet' %]
        <li><a rel="nofollow" id="key-tool-report-share" class="share" href="#report-share">[% loc('Share') %]</a></li>
        [% END %]
      [% IF c.cobrand.moniker == 'zurich' %]
        <li><a class="chevron" id="key-tool-problems-nearby" href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'Problems on the map' ) %]</a></li>
      [% ELSE %]
        <li><a class="chevron" id="key-tool-problems-nearby" href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'Problems nearby' ) %]</a></li>
      [% END %]
    </ul>

[% IF c.cobrand.moniker == 'fixmystreet' %]
    <div id="report-share" class="hidden-js" align="center">
        <a href="https://twitter.com/share" class="twitter-share-button" data-text="I just reported &lsquo;[% problem.title | html %]&rsquo;" data-via="fixmystreet" data-related="mysociety" data-count="none" data-dnt="true">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
        <iframe src="//www.facebook.com/plugins/like.php?href=[% c.req.uri | uri %]&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
    </div>
[% END %]

<div id="report-updates-data" class="hidden-js">
    <form action="[% c.uri_for( '/alert/subscribe' ) %]" method="post">
        <a href="[% c.uri_for( '/rss', problem.id ) %]">
            <img src="/i/feed.png" width="16" height="16" title="[% loc('RSS feed') %]" alt="[% loc('RSS feed of updates to this problem' ) %]" border="0">
        </a>
{'fraction_non_alphanumeric': 0.22485992332645238, 'fraction_numerical': 0.0044234739015039815, 'mean_word_length': 3.780126849894292, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 101, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4930468', 'n_tokens_mistral': 2630, 'n_tokens_neox': 2544, 'n_words': 421}