trombi: fix trombi tools if user has a trombi profile but no trombi linked

This commit is contained in:
2019-09-29 11:52:48 +02:00
parent fcb3035b67
commit 35d9c05abf
2 changed files with 13 additions and 5 deletions

View File

@ -12,7 +12,8 @@
{{ subscribe_form.as_p() }}
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>
{% else %}
{% endif %}
{% if trombi %}
<p>{% trans trombi = user.trombi_user.trombi %}You are subscribed to the Trombi {{ trombi }}{% endtrans %}</p>
<hr>
{% set can_comment = trombi.subscription_deadline < date.today() and