feat: Label ANs as active/inactive
This commit is contained in:
parent
b2a3d910d9
commit
6229f0f8a2
@ -928,6 +928,20 @@ div.announcement {
|
|||||||
background-color: #ede1b5;
|
background-color: #ede1b5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.label {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 4px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active-adoption {
|
||||||
|
background-color: #4a9455;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inactive-adoption {
|
||||||
|
background-color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
/************************/
|
/************************/
|
||||||
/* GENERAL HIGHLIGHTING */
|
/* GENERAL HIGHLIGHTING */
|
||||||
/************************/
|
/************************/
|
||||||
|
@ -28,6 +28,11 @@
|
|||||||
<button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell-slash"></i></button>
|
<button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell-slash"></i></button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if adoption_notice.is_active %}
|
||||||
|
<span id="submit" class="label active-adoption" style=>{% trans 'Aktive Vermittlung' %}</span>
|
||||||
|
{% else %}
|
||||||
|
<span id="submit" class="label inactive-adoption" style=>{% trans 'Vermittlung inaktiv' %}</span>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if has_edit_permission %}
|
{% if has_edit_permission %}
|
||||||
<a class="btn2"
|
<a class="btn2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user