forked from rDrama/rDrama
master
parent
b6ddc3cdfc
commit
e90d3fa9b1
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<script src="/assets/js/userpage.js?v=70"></script>
|
||||
<script src="/assets/js/userpage.js?v=72"></script>
|
||||
<title>{{u.username}}'s profile - {{'SITE_NAME' | app_config}}</title>
|
||||
{% if u.is_private %}
|
||||
<meta name="robots" content="noindex">
|
||||
|
@ -185,16 +185,25 @@
|
|||
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>
|
||||
<div class="text-muted font-weight-bolder">{{u.bio_html | safe}}</div>
|
||||
<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>
|
||||
<p class="text-muted">No bio...</p>
|
||||
{% endif %}
|
||||
|
||||
{% if u.friends_html %}
|
||||
<p class="text-muted font-weight-bold">Friends:</p>
|
||||
{{u.friends_html | safe}}
|
||||
{% if request.host == 'rdrama.net' and u.id == 2050 %}
|
||||
{{u.bio_html | safe}}
|
||||
{% else %}
|
||||
{{u.friends_html | safe}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if u.enemies_html %}
|
||||
|
@ -227,7 +236,7 @@
|
|||
{% if 'pcm' in request.host and v.admin_level > 1 %}
|
||||
{% if u.admin_level == 0 %}
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
|
||||
{% elif v.id in [10,1551,1552,1577,1592] %}
|
||||
{% elif v.admin_level > 2 %}
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/remove_admin')">Remove admin</a>
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/revert_actions')">Revert admin actions</a>
|
||||
{% endif %}
|
||||
|
@ -370,18 +379,20 @@
|
|||
{% endif %}
|
||||
<pre></pre>
|
||||
<p>User ID: {{u.id}}</p>
|
||||
<p>Coins spent: {{u.coins_spent}}</p>
|
||||
{% if v and v.admin_level > 1 %}
|
||||
<p>True score: {{u.truecoins}}</p>
|
||||
{% if u.is_private %}
|
||||
<p>User has private mode enabled.</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if v and (v.admin_level > 1 or v.alt) %}
|
||||
<span>Alts:</span>
|
||||
<ul>
|
||||
{% for account in u.alts_unique %}
|
||||
<li><a href="{{account.url}}">@{{account.username}}</a>{% if account._is_manual %} [m]{% endif %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
True score: {{u.truecoins}}
|
||||
Coins spent: {{u.coins_spent}}
|
||||
{% endif %}
|
||||
{% if u.is_suspended %}
|
||||
<p>Banned by: <a href="{{u.banned_by.url}}">@{{u.banned_by.username}}</a></p>
|
||||
|
@ -525,7 +536,7 @@
|
|||
{% if 'pcm' in request.host and v.admin_level > 1 %}
|
||||
{% if u.admin_level == 0 %}
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
|
||||
{% elif v.id in [10,1551,1552,1577,1592] %}
|
||||
{% elif v.admin_level > 2 %}
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/remove_admin')">Remove admin</a>
|
||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/revert_actions')">Revert admin actions</a>
|
||||
{% endif %}
|
||||
|
@ -664,23 +675,24 @@
|
|||
{% endif %}
|
||||
<pre></pre>
|
||||
<p>User ID: {{u.id}}</p>
|
||||
<p>Coins spent: {{u.coins_spent}}</p>
|
||||
{% if v and v.admin_level > 1 %}
|
||||
<p>True score: {{u.truecoins}}</p>
|
||||
{% if u.is_private %}
|
||||
<p>User has private mode enabled.</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if v and (v.admin_level > 1 or v.alt) %}
|
||||
<span>Alts:</span>
|
||||
<ul>
|
||||
{% for account in u.alts_unique %}
|
||||
<li><a href="{{account.url}}">@{{account.username}}</a>{% if account._is_manual %} [m]{% endif %}</li>
|
||||
<li><a href="{{account.url}}">@{{account.username}}</a>{% if account._is_manual %} [m]{% endif %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
True score: {{u.truecoins}}
|
||||
Coins spent: {{u.coins_spent}}
|
||||
{% endif %}
|
||||
{% if u.is_suspended %}
|
||||
<p>Banned by: <a href="{{u.banned_by.url}}">@{{u.banned_by.username}}</a></p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue