master
Aevann1 2021-11-18 16:06:52 +02:00
parent 84fbcc9af5
commit 4a4f88dbc4
2 changed files with 16 additions and 7 deletions

View File

@ -551,7 +551,7 @@
<div class="body d-lg-flex border-bottom">
<label class="text-black w-lg-25">Bio</label>
<label class="text-black w-lg-25">{% if request.host == 'rdrama.net' and u.id == 2050 %}Friends{% else %}Bio{% endif %}</label>
<div class="w-lg-100">
<form id="profile-bio" action="/settings/profile" method="post" enctype="multipart/form-data">
@ -588,7 +588,7 @@
<div class="body d-lg-flex border-bottom">
<label class="text-black w-lg-25">Friends</label>
<label class="text-black w-lg-25">{% if request.host == 'rdrama.net' and u.id == 2050 %}Bio{% else %}Friends{% endif %}</label>
<div class="w-lg-100">
<form id="profile-friends" action="/settings/profile" method="post" enctype="multipart/form-data">

View File

@ -174,17 +174,26 @@
joined <span data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="{{u.created_datetime}}">{{u.created_date}}</span>
</div>
{% if "pcm" in request.host %}<p class="text-muted">Based Count: {{u.basedcount}}</p>{% endif %}
{% if u.bio_html %}
<pre></pre>
{% if request.host == 'rdrama.net' and u.id == 2050 %}
<div class="text-muted font-weight-bolder">{{u.friends_html | safe}}</div>
{% else %}
<div class="text-muted font-weight-bolder">{{u.bio_html | safe}}</div>
{% endif %}
{% else %}
<p class="text-muted">No bio...</p>
{% endif %}
{% if u.friends_html %}
<p class="text-muted font-weight-bold">Friends:</p>
{% if request.host == 'rdrama.net' and u.id == 2050 %}
{{u.bio_html | safe}}
{% else %}
{{u.friends_html | safe}}
{% endif %}
{% endif %}
{% if u.enemies_html %}
<p class="text-muted font-weight-bold">Enemies:</p>