<commit_before>{% extends '::ojsbase.html.twig' %}
{% block title %} {{ user.title ~' '~ user.firstName ~' '~ user.lastName }} @  {{ parent() }}{% endblock %}
{% set hideleft = 1 %}


{% block breadcrumb %}
    {% set list = [
    {'link': path('ojs_public_index'), 'title': 'ojs.title'|trans},
    {'title': 'user.profile'|trans},
    {'title':  user.title ~' '~ user.firstName ~' '~ user.lastName }
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block stylesheets %}
    {{ parent() }}
    {% stylesheets '@timeline_css' output="assets/prod/css/timeline.css" %}
    <link rel="stylesheet" href="{{ asset_url }}"/>
    {% endstylesheets %}
{% endblock %}

{% block body %}
    <div class="container">
        <div class="profile-container">
            <header class="page-header text-center">
                <figure>
                    <img class="img-circle tri" alt="" src="{{ user.avatar }}"
                            />
                </figure>
                <h1 class="page-title">{{ user.title }} {{ user.firstName }} {{ user.lastName }} /
                    @{{ user.username }}</h1>
                <small><i class="fa fa-clock-o"></i>
                    <time> {{ user.updated.date|date }}</time><commit_msg>Show avatar images properly, fixes #954<commit_after>{% extends '::ojsbase.html.twig' %}
{% block title %} {{ user.title ~' '~ user.firstName ~' '~ user.lastName }} @  {{ parent() }}{% endblock %}
{% set hideleft = 1 %}


{% block breadcrumb %}
    {% set list = [
    {'link': path('ojs_public_index'), 'title': 'ojs.title'|trans},
    {'title': 'user.profile'|trans},
    {'title':  user.title ~' '~ user.firstName ~' '~ user.lastName }
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block stylesheets %}
    {{ parent() }}
    {% stylesheets '@timeline_css' output="assets/prod/css/timeline.css" %}
    <link rel="stylesheet" href="{{ asset_url }}"/>
    {% endstylesheets %}
{% endblock %}

{% block body %}
    <div class="container">
        <div class="profile-container">
            <header class="page-header text-center">
                <figure>
                    <img
                        {% if user.avatar is not null %}
                        class="img-circle"
                        {% else %}
                        class="img-circle tri"
                        {% endif %}
                        alt="" src="{{ user.avatar|imagine_filter('user_croped') }}" />
                </figure>
                <h1 class="page-title">{{ user.title }} {{ user.firstName }} {{ user.lastName }} /
                    @{{ user.username }}</h1>
                <small><i class="fa fa-clock-o"></i>
                    <time> {{ user.updated.date|date }}</time>
{'fraction_non_alphanumeric': 0.1986024273630011, 'fraction_numerical': 0.0033100404560500183, 'mean_word_length': 2.015521064301552, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '6613843', 'n_tokens_mistral': 891, 'n_tokens_neox': 805, 'n_words': 154}