1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

fix sponsor badge always showing up

This commit is contained in:
Stefan Pratter
2020-04-15 11:34:59 +00:00
parent 5f5ecd67f7
commit b343d73aab

View File

@@ -21,7 +21,9 @@
data-edit-required="yes"
data-edit-value="{{ data.title }}"
data-edit-name="name">{{ data.title }}
{% if instance.sponsorship %}
<a data-edit-static="yes" href="/sponsors" class="sponsor {{ instance.sponsorship.label|lower }}">{{ instance.sponsorship.label }} sponsor</a>
{% endif %}
</div>
<div class="col-md-4 col-sm-4 col-xs-2 right button-bar">