<commit_before>{% extends 'base.html' %}
{% load i18n %}
{% load staticfiles %}

{% block js %} {{block.super}}
<script type="text/javascript" src="{% static 'js/profile/profile.app.js' %}"></script>
<script type="text/javascript" src="{% static 'js/profile/profile.controllers.js' %}"></script>
<script type="text/javascript" src="{% static 'js/profile/profile.services.js' %}"></script>
<script type="text/javascript" src="{% static 'angular-ui-tinymce/src/tinymce.js' %}"></script>
<script type="text/javascript" src="{% static 'js/factories/timtec-models.js' %}"></script>
<script type="text/javascript" src="{% static 'tinymce-dist/tinymce.js' %}"></script>
<script type="text/javascript" src="{% static 'js/ui.tinymce.paralapraca.config.js' %}"></script>
{% endblock %}

{% block wrapper_classes %}
wrapper-course-lesson
{% endblock %}

{% block body_attrs %}
  ng-app="profile"
{% endblock %}

{% block content %}
<div class="profile page container-fluid" ng-controller="UserProfileController" ng-cloak>
    <div ng-hide="user_profile.$resolved">
        <p><i class="loading fa fa-refresh fa-spin"></i></p>
    </div>
    <div ng-show="user_profile" ng-if="user_profile">
        <div class="page-header">
            <h2><i class="fa fa-angle-double-right"></i> {% trans "Profile" %}</h2>
        </div>

        {% verbatim %}
        <div class="profile-picture" style="background-image: url({{ user_profile.picture }});">
        </div>

        <div class="profile-edit" ng-show="user_profile.is_current_user">
            <a href="/profile/edit/" class="btn btn-success btn-sm edit">editar perfil</a>
        </div>

        <h2 class="profile-name">{{user_profile.first_name}} {{user_profile.last_name}}</h2>
        <div class="profile-info">
            <p ng-if="user_profile.occupation" class="occupation">
                {{user_profile.occupation}}
            </p><commit_msg>Showing 'edit profile' buttons for admins. (refs #464)<commit_after>{% extends 'base.html' %}
{% load i18n %}
{% load staticfiles %}

{% block js %} {{block.super}}
<script type="text/javascript" src="{% static 'js/profile/profile.app.js' %}"></script>
<script type="text/javascript" src="{% static 'js/profile/profile.controllers.js' %}"></script>
<script type="text/javascript" src="{% static 'js/profile/profile.services.js' %}"></script>
<script type="text/javascript" src="{% static 'angular-ui-tinymce/src/tinymce.js' %}"></script>
<script type="text/javascript" src="{% static 'js/factories/timtec-models.js' %}"></script>
<script type="text/javascript" src="{% static 'tinymce-dist/tinymce.js' %}"></script>
<script type="text/javascript" src="{% static 'js/ui.tinymce.paralapraca.config.js' %}"></script>
{% endblock %}

{% block wrapper_classes %}
wrapper-course-lesson
{% endblock %}

{% block body_attrs %}
  ng-app="profile"
{% endblock %}

{% block content %}
<div class="profile page container-fluid" ng-controller="UserProfileController" ng-cloak>
    <div ng-hide="user_profile.$resolved">
        <p><i class="loading fa fa-refresh fa-spin"></i></p>
    </div>
    <div ng-show="user_profile" ng-if="user_profile">
        <div class="page-header">
            <h2><i class="fa fa-angle-double-right"></i> {% trans "Profile" %}</h2>
        </div>

        {% verbatim %}
        <div class="profile-picture" style="background-image: url({{ user_profile.picture }});">
        </div>

        <div class="profile-edit" ng-if="user_profile.is_current_user || current_user.is_superuser">
            <a href="/profile/edit/" class="btn btn-success btn-sm edit">editar perfil</a>
        </div>

        <h2 class="profile-name">{{user_profile.first_name}} {{user_profile.last_name}}</h2>
        <div class="profile-info">
            <p ng-if="user_profile.occupation" class="occupation">
                {{user_profile.occupation}}
            </p>
{'fraction_non_alphanumeric': 0.20367494824016563, 'fraction_numerical': 0.0038819875776397515, 'mean_word_length': 3.83125, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4209184', 'n_tokens_mistral': 1345, 'n_tokens_neox': 1238, 'n_words': 241}