|
@@ -2,19 +2,19 @@
|
|
|
|
|
|
{% import "PackagistWebBundle::macros.html.twig" as macros %}
|
|
|
|
|
|
-{% set isActualUser = app.user and app.user.username is same as(user.username) %}
|
|
|
|
|
|
{% block content %}
|
|
|
+{% set isActualUser = app.user and app.user.username is same as(user.username) %}
|
|
|
<h2 class="title">
|
|
|
{{ user.username }}
|
|
|
- <small>
|
|
|
- {%- if not isActualUser %}
|
|
|
+ {%- if not isActualUser %}
|
|
|
+ <small>
|
|
|
member since: {{ user.createdAt|date('M d, Y') }}
|
|
|
{%- if is_granted('ROLE_ADMIN') %}
|
|
|
<a href="mailto:{{ user.email }}">{{ user.email }}</a>
|
|
|
{%- endif %}
|
|
|
- {%- endif %}
|
|
|
- </small>
|
|
|
+ </small>
|
|
|
+ {%- endif %}
|
|
|
</h2>
|
|
|
|
|
|
<section class="row">
|