remotes/1693045480750635534/spooky-22
Aevann1 2021-08-04 15:56:56 +02:00
parent 903e4a5993
commit b8162cd2e4
2 changed files with 2 additions and 8 deletions

View File

@ -26,7 +26,7 @@
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon {% if v and v.notifications_count %}position-relative{% endif %}"><i class="fal fa-bars text-gray-500"></i>
{% if v and v.notifications_count %}
<span class="badge-count font-weight-bolder" style="right: -6px; font-size:18px;">{% if v.notifications_count > 9 %}9+{% else %}{{v.notifications_count}}{% endif %}</span>
<span class="badge-count font-weight-bolder" style="right: -6px; font-size:18px;">{{v.notifications_count}}</span>
{% endif %}
</span>
</button>
@ -51,12 +51,6 @@
<a class="nav-link position-relative" href="/notifications{% if v.notifications_count == v.post_notifications_count %}?posts=true{% endif %}" data-toggle="tooltip" data-placement="bottom" title="Notifications"><i class="fas fa-bell text-danger"></i><span class="badge-count font-weight-bolder">{{v.notifications_count}}</span></a>
</li>
{% elif v.notifications_count > 9 %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1">
<a class="nav-link position-relative" href="/notifications{% if v.notifications_count == v.post_notifications_count %}?posts=true{% endif %}" data-toggle="tooltip" data-placement="bottom" title="Notifications"><i class="fas fa-bell text-danger"></i><span class="badge-count font-weight-bolder" style="width: 24px;">9+</span></a>
</li>
{% else %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1">

View File

@ -19,7 +19,7 @@
<h1>Info</h1>
<p><a href="{{thing.permalink}}">{{thing.permalink}}</a></p>
<p><b>Author:</b> <a href="{{thing.author.permalink}}">@{{thing.author.username}}</a></p>
<p><b>Author Created At:</b> {{thing.author.created_utc}} ({{thing.author.created_datetime}} UTC)</p>
<p><b>Author Created At:</b> {{thing.author.created_utc}} ({{thing.author.created_datetime}})</p>
<p><b>Upvotes:</b>{{ups | length}}</p>
<p><b>Downvotes:</b>{{downs | length}}</p>