master
Aevann1 2021-07-23 22:01:48 +02:00
parent 83f05371ef
commit 64df374d27
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,6 @@
<div class="font-weight-bolder">
<span>{{u.dramacoins}}</span> Dramacoins&nbsp;&nbsp; {% if u.follower_count >=1 and not u.is_nofollow %}<a href="/@{{u.username}}/followers">{{u.follower_count}} follower{{'s' if u.follower_count != 1 else ''}}</a>&nbsp;&nbsp; {% endif %}joined <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="{{u.created_datetime}}">{{u.created_date}}</span>
{% if u.id == v.id and v.admin_level > 0 or v.patron %}<a href="/@{{u.username}}/views">Views</a>{% endif %}
</div>
{% if u.bio_html %}
<pre></pre>
@ -155,6 +154,7 @@
{% elif v and v.id == u.id %}
<a href="/settings/profile" class="btn btn-secondary">Edit profile</a>
<a href="/views" class="btn btn-secondary">Profile views</a>
{% endif %}
{% if v and v.id != u.id and v.admin_level > 0 and u.admin_level == 0 %}
<br><br>
@ -293,7 +293,6 @@
{% if u.customtitle %}<p style="color: #{{u.titlecolor}}">{{u.customtitle_}}</p>{% endif %}
<div class="font-weight-normal">
<span class="font-weight-bold">{{u.dramacoins}}</span> Dramacoins&nbsp;&nbsp;{% if u.follower_count >=1 and not u.is_nofollow %}<a href="/@{{u.username}}/followers" class="font-weight-bold">{{u.follower_count}} follower{{'s' if u.follower_count != 1 else ''}}</a>&nbsp;&nbsp; {% endif %}<br>joined <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="{{u.created_datetime}}" class="font-weight-bold">{{u.created_date}}</span>
{% if u.id == v.id and v.admin_level > 0 or v.patron %}<br /><a href="/@{{u.username}}/views">Views</a>{% endif %}
</div>
{% if u.bio_html %}
<p class="text-muted text-break">{{u.bio_html | safe}}</p>
@ -306,6 +305,7 @@
</div>
{% if v and v.id == u.id %}
<a href="/settings/profile" class="btn btn-secondary btn-sm">Edit profile</a>
<a href="/views" class="btn btn-secondary">Profile views</a>
{% endif %}
{% if v and v.id != u.id %}
<a id="button-unsub2" class="btn btn-secondary {% if not is_following %}d-none{% endif %}" href="javascript:void(0)" onclick="post('/api/unfollow/{{u.username}}', callback=function(){document.getElementById('button-unsub2').classList.toggle('d-none');document.getElementById('button-sub2').classList.toggle('d-none');})">Unfollow</a>