<commit_before>{% extends 'AppBundle::layout.html.twig' %}

{% block metatags %}
    {% render controller('CopiaincollaMetaTagsBundle:MetaTags:render', { 'inlineMetatags': {'title': 'FriendsMappin: map for @'~username, 'description': 'This is the map displaying the followers and friends of @'~username} }) %}
{% endblock %}

{% block header_next %}

    <div id="alert-operation" class="ng-hide" ng-show="operation_in_progress != ''">
        <p class="message {[{ 'message-type-' + operation_message_type }]}">
            <span us-spinner="{radius:4, width:2, length: 3, color: '#FFF'}" spinner-key="spinner-operation" style="display: inline-block; margin-right: 13px; top: -4px; position: relative;" ng-show="show_spinner"></span>

            <span class="msg">
                {[{ operation_in_progress }]}
            </span>
        </p>
        {#

        <br><br>
        <p style="font-size: 12px;">
            While waiting, consider spreading the voice via
            {% if (app.request.get('username')) %}
                <a href="https://twitter.com/share" class="twitter-share-button" data-text="FriendMappin shows where followers of @{{ app.request.get('username') }} are. #twitter #map" data-url="{{ app.request.uri }}">Tweet</a>
            {% else %}
                <a href="https://twitter.com/share" class="twitter-share-button" data-text="FriendsMappin - Find where your followers are. #twitter #map" data-url="{{ app.request.uri }}">Tweet</a>
            {% endif %}
        </p>
        #}
    </div>

{% endblock %}


{% block header_text %}
    <head-bar></head-bar>
{% endblock %}


{% block body %}

    <div ng-controller="MapController as mapCtrl" ng-init="username='{{ username }}'">

        <div id="wrapper-fullscreen">
            <div id="map-wrapper">
                <div id="map_canvas" style="width: 100%; height: 100%"></div>

                <div id="fake-map" style="dispaly: none; width: 0px; height: 0px"></div>
            </div>
        </div>

        <div id="right-panel">

            <accordion close-others="true">
                <accordion-group heading='{[{ UserMapService.user.screen_name }]}' is-open="true">
                    <p>
                        This is the map of the friends and followers of <a href="http://twitter.com/{[{ UserMapService.user.screen_name }]}" target="_blank">{[{ UserMapService.user.screen_name }]}</a>
                    </p>

                    <b><span class="glyphicon glyphicon-stats"></span> Friends statistics</b>
                    <p>
                        {[{ UserMapService.user.friends_count }]} total
                        <br>
                        {[{ UserMapService.counters.localized_friends }]} localized
                    </p>
                    <b><span class="glyphicon glyphicon-stats"></span> Followers statistics</b>
                    <p>
                        {[{ UserMapService.user.followers_count }]} total
                        <br>
                        {[{ UserMapService.counters.localized_followers }]} localized
                    </p>
                    <div id="advanced-operations" ng-show="UserMapService.state_flags.fetch_all_users_finished" class="ng-hide">
                        <b><span class="glyphicon glyphicon-remove-sign"></span> Errors</b>
                        <p>
                            <a class="" href="javascript:void(0);" data-toggle="modal" data-target="#modal-users-without-location">
                                {[{ UserMapService.counters.not_localized_friends + UserMapService.counters.not_localized_followers }]} Users without location
                            </a>
                        </p>

                        <b><span class="glyphicon glyphicon-plus-sign"></span> More</b>
                        <p>
                            <a
                                href="javascript:void(0)"<commit_msg>34 [layout] use of AngularJS directive ng-cloak<commit_after>{% extends 'AppBundle::layout.html.twig' %}

{% block metatags %}
    {% render controller('CopiaincollaMetaTagsBundle:MetaTags:render', { 'inlineMetatags': {'title': 'FriendsMappin: map for @'~username, 'description': 'This is the map displaying the followers and friends of @'~username} }) %}
{% endblock %}

{% block header_next %}

    <div id="alert-operation" class="ng-hide" ng-show="operation_in_progress != ''" ng-cloak>
        <p class="message {[{ 'message-type-' + operation_message_type }]}">
            <span us-spinner="{radius:4, width:2, length: 3, color: '#FFF'}" spinner-key="spinner-operation" style="display: inline-block; margin-right: 13px; top: -4px; position: relative;" ng-show="show_spinner"></span>

            <span class="msg">
                {[{ operation_in_progress }]}
            </span>
        </p>
        {#

        <br><br>
        <p style="font-size: 12px;">
            While waiting, consider spreading the voice via
            {% if (app.request.get('username')) %}
                <a href="https://twitter.com/share" class="twitter-share-button" data-text="FriendMappin shows where followers of @{{ app.request.get('username') }} are. #twitter #map" data-url="{{ app.request.uri }}">Tweet</a>
            {% else %}
                <a href="https://twitter.com/share" class="twitter-share-button" data-text="FriendsMappin - Find where your followers are. #twitter #map" data-url="{{ app.request.uri }}">Tweet</a>
            {% endif %}
        </p>
        #}
    </div>

{% endblock %}


{% block header_text %}
    <head-bar ng-cloak></head-bar>
{% endblock %}


{% block body %}

    <div ng-controller="MapController as mapCtrl" ng-init="username='{{ username }}'">

        <div id="wrapper-fullscreen">
            <div id="map-wrapper">
                <div id="map_canvas" style="width: 100%; height: 100%"></div>

                <div id="fake-map" style="dispaly: none; width: 0px; height: 0px"></div>
            </div>
        </div>

        <div id="right-panel">

            <accordion close-others="true" ng-cloak>
                <accordion-group heading='{[{ UserMapService.user.screen_name }]}' is-open="true">
                    <p>
                        This is the map of the friends and followers of <a href="http://twitter.com/{[{ UserMapService.user.screen_name }]}" target="_blank">{[{ UserMapService.user.screen_name }]}</a>
                    </p>

                    <b><span class="glyphicon glyphicon-stats"></span> Friends statistics</b>
                    <p>
                        {[{ UserMapService.user.friends_count }]} total
                        <br>
                        {[{ UserMapService.counters.localized_friends }]} localized
                    </p>
                    <b><span class="glyphicon glyphicon-stats"></span> Followers statistics</b>
                    <p>
                        {[{ UserMapService.user.followers_count }]} total
                        <br>
                        {[{ UserMapService.counters.localized_followers }]} localized
                    </p>
                    <div id="advanced-operations" ng-show="UserMapService.state_flags.fetch_all_users_finished" class="ng-hide">
                        <b><span class="glyphicon glyphicon-remove-sign"></span> Errors</b>
                        <p>
                            <a class="" href="javascript:void(0);" data-toggle="modal" data-target="#modal-users-without-location">
                                {[{ UserMapService.counters.not_localized_friends + UserMapService.counters.not_localized_followers }]} Users without location
                            </a>
                        </p>

                        <b><span class="glyphicon glyphicon-plus-sign"></span> More</b>
                        <p>
                            <a
                                href="javascript:void(0)"
{'fraction_non_alphanumeric': 0.15554708349218452, 'fraction_numerical': 0.004829076121489389, 'mean_word_length': 1.9409566517189836, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 127, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2767559', 'n_tokens_mistral': 2364, 'n_tokens_neox': 2136, 'n_words': 438}