[Cards][Profile] Re-organizing elements.

This commit is contained in:
Eliseu Amaro 2021-09-22 17:20:06 +01:00
parent a557ba0224
commit a439b7130e
1 changed files with 7 additions and 5 deletions

View File

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