aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig')
-rw-r--r--src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig b/src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig
new file mode 100644
index 00000000..703de79f
--- /dev/null
+++ b/src/Wallabag/FederationBundle/Resources/views/themes/material/User/profile_header.html.twig
@@ -0,0 +1,35 @@
1{% set usershow = user.username %}
2{% if user.user.name is not null %}
3 {% set usershow = user.user.name %}
4{% endif %}
5
6<p>
7 {{ usershow }} utilise wallabag pour lire et archiver son contenu. Vous pouvez le/la suivre et interagir si vous possédez un compte quelque part dans le "fediverse". Si ce n'est pas le cas, vous pouvez en créer un ici.
8</p>
9<div class="card grey lighten-5 z-depth-1 profile">
10 <div class="card-content">
11 <img src="{{ asset('uploads/media/avatar/') ~ user.avatar }}" alt="" class="circle responsive-img center-block avatar">
12 <h3 class="center-align">{{ usershow }}</h3>
13 <h6 class="center-align">@{{ user.username }}</h6>
14 <a class="btn-floating btn-large halfway-fab waves-effect waves-light red" href="{{ path('follow-user', {'userToFollow': user.username}) }}"><i class="material-icons">person_add</i></a>
15 <div class="details">
16 <div class="bio">
17 <p>{{ user.description }}</p>
18 </div>
19 <div class="details-counters">
20 <div class="counter">
21 <a href="{{ path('followers', {'user': user.username}) }}">
22 <span class="counter-label">Followers</span>
23 <span class="counter-number">{{ user.followers | length }}</span>
24 </a>
25 </div>
26 <div class="counter">
27 <a href="{{ path('following', {'user': user.username}) }}">
28 <span class="counter-label">Following</span>
29 <span class="counter-number">{{ user.following | length }}</span>
30 </a>
31 </div>
32 </div>
33 </div>
34 </div>
35</div>