<commit_before>{% extends "web/base.html" %}
{% load gravatar_tags %}
{% load i18n %}

{% block title %}Account{% endblock %}

{% block content %}
<div class="green">
  <h1>Account</h1>
  <div class="row-fluid well">
    <div class="span3">
      <h3>
        {{ user.username }}&nbsp;&nbsp;
        <img src="{% gravatar_url user.email %}" class="img-circle" height="64" width="64">
      </h3>
    </div>
    <div class="span9">
      {{ user.first_name }} {{ user.last_name }}
      {{ user.email }}
    </div>
  </div>
  <form method="post" action="{% url 'rest_framework:logout' %}">
    {% csrf_token %}
    {% if redirect_field_value %}
    <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
    {% endif %}
    <button type="submit" class="btn btn-link">{% trans 'Log Out' %}</button>
    {% if user.is_staff %}
    <a href="{% url 'admin:index' %}" class="btn btn-link">Admin</a>
    {% endif %}
  </form>
</div>
{% endblock %}<commit_msg>fix(controller): remove dead web link to logout page<commit_after>{% extends "web/base.html" %}
{% load gravatar_tags %}
{% load i18n %}

{% block title %}Account{% endblock %}

{% block content %}
<div class="green">
  <h1>Account</h1>
  <div class="row-fluid well">
    <div class="span3">
      <h3>
        {{ user.username }}&nbsp;&nbsp;
        <img src="{% gravatar_url user.email %}" class="img-circle" height="64" width="64">
      </h3>
    </div>
    <div class="span9">
      {{ user.first_name }} {{ user.last_name }}
      {{ user.email }}
    </div>
  </div>
  <div class="row-fluid">
    {% if user.is_staff %}
    <a href="{% url 'admin:index' %}" class="btn btn-link">Admin</a>
    {% endif %}
  </div>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.21965317919075145, 'fraction_numerical': 0.013872832369942197, 'mean_word_length': 3.181159420289855, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, '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': '1339561', 'n_tokens_mistral': 665, 'n_tokens_neox': 606, 'n_words': 136}