feat: add trusted checkmark

This commit is contained in:
moanos [he/him] 2025-01-02 19:16:22 +01:00
parent 8e7cdafee0
commit 9fec95bd2e
2 changed files with 22 additions and 1 deletions

View File

@ -217,6 +217,19 @@ a.btn, a.btn2, a.nav-link {
border: 1px solid black; border: 1px solid black;
} }
.checkmark {
display: inline-block;
position: relative;
left: 0.2rem;
bottom: 0.075rem;
background-color: var(--primary-dark-one);
color: var(--secondary-light-one);
border-radius: 0.5rem;
width: 1.5rem;
height: 1.5rem;
text-align: center;
}
.switch { .switch {
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;

View File

@ -50,7 +50,15 @@
{% endif %} {% endif %}
</td> </td>
{% if adoption_notice.organization %} {% if adoption_notice.organization %}
<td><a href="{{adoption_notice.organization.get_absolute_url }}">{{ adoption_notice.organization }}</a></td> <td>
<div>
<a href="{{ adoption_notice.organization.get_absolute_url }}">{{ adoption_notice.organization }}</a>
{% if adoption_notice.organization.trusted %}
<div class="checkmark"><i class="fa-solid fa-check"></i></div>
{% endif %}
</div>
</td>
{% endif %} {% endif %}
<td>{{ adoption_notice.searching_since }}</td> <td>{{ adoption_notice.searching_since }}</td>