ausglamr/blogs/templates/browse/groups.html

26 lines
936 B
HTML
Raw Permalink Normal View History

2024-01-04 11:54:56 +11:00
{% extends "layout.html" %}
{% block content %}
2024-01-09 18:11:22 +11:00
<div>
<a href="{% url 'register-group' %}"><button class="button button-first">Add a Group</button></a>
</div>
<div class="listing l-three header">
2024-01-04 11:54:56 +11:00
<span>Description</span>
2024-01-09 18:11:22 +11:00
<span>Category</span>
2024-01-04 11:54:56 +11:00
<span>Registration Link</span>
</div>
<hr/>
{% for group in groups %}
2024-01-09 18:11:22 +11:00
<div class="listing l-three">
<span>
<p><a href="{{group.url}}">{{group.name}}</a></p>
<p><span>{{group.description}}</span></p>
</span>
<span><span class="badge badge_{{group.category}}"><a href="/groups/{{group.category}}">{{group.category_name}}</a></span></span>
2024-01-04 11:54:56 +11:00
<span><a href="{{group.registration_url}}">Join the {{group.reg_type}}</a></span>
</div>
<hr/>
2024-01-09 18:11:22 +11:00
{% empty %}
<p>Oh no! There are no groups currently registered. Try checking out <a href="{% url 'newsletters' %}">some newsletters</a>.</p>
2024-01-04 11:54:56 +11:00
{% endfor %}
{% endblock %}