[Cards][Profile] Re-organizing elements.

This commit is contained in:
Eliseu Amaro 2021-09-22 17:20:06 +01:00
parent a557ba0224
commit a439b7130e

View File

@ -13,23 +13,25 @@
<nav class="profile-info-tags">
{% if actor_tags %}
{% for tag in actor_tags %}
<a href='#'><i> #{{ tag }} </i></a>
<a href='#'><em>#{{ tag }}</em></a>
{% endfor %}
{% else %}
{{ '(No tags)' | trans }}
{% endif %}
</nav>
<section class="profile-info-stats">
<div><strong>{{ 'Subscriptions' | trans }}</strong>{{ actor.getSubscriptionsCount() }}</div>
<div><strong>{{ 'Subscribers' | trans }}</strong>{{ actor.getSubscribersCount() }}</div>
<section class="profile-info-bio">
{% if actor_bio %}
<p>{{ actor_bio }}</p>
{% else %}
<p>{{ '(No bio)' | trans }}</p>
{% endif %}
</section>
<section class="profile-info-stats">
<div><strong>{{ 'Subscriptions' | trans }}</strong>{{ actor.getSubscriptionsCount() }}</div>
<div><strong>{{ 'Subscribers' | trans }}</strong>{{ actor.getSubscribersCount() }}</div>
</section>
</div>
</a>
</section>