Add message if no associations in a city, fix php redirect script
This commit is contained in:
parent
788f95b45c
commit
4dda40f65c
3 changed files with 11 additions and 3 deletions
|
@ -80,6 +80,8 @@
|
|||
<td><b><a href="{% url 'dronken:association' association.city.slug association.slug %}">{{ association|safe }}</a></b></td>
|
||||
<td><b>{% if association.has_intern %}{{ association.state|upper }}{% else %}{{ association.short_name|safe|upper }} HEEFT GEEN INTERN!{% endif %}</b></td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr><td><h4>{{ city.name }} heeft helemaal geen verenigingen!</h4></td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue