Skip to content

Commit

Permalink
Add propose pb link on pb search page
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Mar 3, 2021
1 parent 8ab3f4e commit d5af234
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions froide/publicbody/templates/publicbody/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,14 @@
{% endif %}

{{ block.super }}
{% endblock %}

{% block sidebar_bottom %}
{% if page_obj.paginator.count > 0 %}
<p>
<a href="{% url 'publicbody-propose' %}">
{% trans "Public body missing? Propose a new public body!" %}
</a>
</p>
{% endif %}
{% endblock %}

0 comments on commit d5af234

Please sign in to comment.