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

{% block toolbar %}
    <div>COMPANY TOOL BAR - <a href="{{ url('company_other') }}">other url</a> - <a href="{{ url('all_documents') }}">All Documents</a> - <a href="{{ url('all_tags') }}">All Tags</a></div>
{% endblock %}


{% block content %}
<div>
{% if is_granted("IS_AUTHENTICATED_FULLY") %}
    <h1>{{ 'hello'| trans({'%name%':user.getUsername},'CompanyBaseBundle') }} !</h1>
{% else %}
    <h1>{{ 'hello'| trans({'%name%':'Anonymous'},'CompanyBaseBundle') }} !</h1>
{% endif %}
</div>
<div>
<a href="{{ url('document') }}">{{ 'document.list' | trans({},'CompanyBaseBundle')}}</a>
</div>

{% endblock %}
