{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = 'Revisions' %}

{% block body %}
    <h1>Korobi/{{ repository }}</h1>
    <table>
        <thead>
            <tr>
                <th>Revision</th>
                <th>Author</th>
                <th>Description</th>
                <th>When</th>
            </tr>
        </thead>
        <tbody>
        {% for revision in revisions %}
            <tr>
                {% if app.user and is_granted('ROLE_ADMIN') %}
                    <td><a href="{{ revision.html_url }}">{{ revision.sha|slice(0, 7) }}</a></td>
                {% else %}
                    <td>{{ revision.sha|slice(0, 7) }}</td>
                {% endif %}
                <td><a href="https://github.com/{{ revision.commit.author.name }}">{{ revision.commit.author.name }}</a></td>
                <td>{{ revision.commit.message }}</td>
                <td>{{ revision.commit.author.date|date('d/m/Y H:m:s') }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}

{% extends 'KorobiWebBundle::layout.html.twig' %}

{% set page_title = 'Revisions' %}

{% block body %}
    <h1>Korobi/{{ repository }}</h1>
    <table>
        <thead>
            <tr>
                <th>Revision</th>
                <th>Author</th>
                <th>Description</th>
                <th>When</th>
            </tr>
        </thead>
        <tbody>
        {% for revision in revisions %}
            <tr>
                {% if app.user and is_granted('ROLE_ADMIN') %}
                    <td><a href="{{ revision.html_url }}">{{ revision.sha|slice(0, 7) }}</a></td>
                {% else %}
                    <td>{{ revision.sha|slice(0, 7) }}</td>
                {% endif %}
                <td><a href="{{ revision.author.html_url }}">{{ revision.commit.author.name }}</a></td>
                <td>{{ revision.commit.message }}</td>
                <td>{{ revision.commit.author.date|date('d/m/Y H:m:s') }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}

Fix GitHub 404 for author's profile in revisions
Fix GitHub 404 for author's profile in revisions
