new: usr: Add opportunity to use profile picture. #4
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
{% block body %}
|
||||
<div class="profile-page">
|
||||
<div class="profile-header">
|
||||
<div class="profile-avatar">
|
||||
{{ app.user.username|slice(0, 2)|upper }}
|
||||
<div id="profile-avatar-root"
|
||||
data-upload-url="{{ path('MineSeekerBundle_profile_avatar') }}"
|
||||
data-thumb-url="{{ app.user.avatarPath ? app.user.avatarPath|imagine_filter('avatar_thumb') : '' }}"
|
||||
data-initials="{{ app.user.username|slice(0, 2)|upper }}">
|
||||
</div>
|
||||
<div class="profile-info">
|
||||
<h1 class="profile-name">{{ app.user.username }}</h1>
|
||||
@@ -21,7 +23,6 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="profile-stats">
|
||||
<div class="profile-stat">
|
||||
<i class="fa fa-gamepad profile-stat__icon"></i>
|
||||
@@ -70,7 +71,6 @@
|
||||
{% endif %}
|
||||
|
||||
<div id="profile-battle-root" data-games="{{ gamesData|json_encode|e('html') }}"></div>
|
||||
|
||||
{% if recent|length > 0 %}
|
||||
<div class="profile-section">
|
||||
<h2 class="profile-section__title">
|
||||
|
||||
Reference in New Issue
Block a user