ausglamr/blogs/templates/browse/events.html

39 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2024-01-04 11:54:56 +11:00
{% extends "layout.html" %}
2024-01-26 11:00:26 +11:00
{% block feed %}
<link href="events/feed" type="application/atom+xml" rel="alternate" title="Aus GLAMR Events" />
{% endblock %}
2024-01-04 11:54:56 +11:00
{% block content %}
<div class="buttons">
2024-01-26 11:00:26 +11:00
<a href="{% url 'cfps' %}"><button class="button button-primary button-first">Current CFPs</button></a>
<a href="{% url 'register-event' %}"><button class="button">Add an Event</button></a>
2024-01-09 18:11:22 +11:00
<a href="{% url 'register-cfp' %}"><button class="button">Add a CFP</button></a>
</div>
<div class="listing l-three header">
<span>Description</span>
<span>Category</span>
<span>Start Date</span>
</div>
<hr/>
{% for con in cons %}
<div class="listing l-three">
<div>
<p><a href="{{con.url}}">{{con.name}}</a></p>
<div>
<p>{{con.description}}</p>
{% if con.call_for_papers %}
<p><em><a href="/cfps/#cfp_{{con.call_for_papers.id}}">{{con.call_for_papers.name}} closes {{ con.call_for_papers.closing_date|date:"D d M" }}</a></em></p>
{% endif %}
2024-01-04 11:54:56 +11:00
</div>
2024-01-09 18:11:22 +11:00
</div>
<span><span class="badge badge_{{con.category}}"><a href="/events/{{con.category}}">{{con.category_name}}</a></span></span>
<span class="start-date">{{con.start_date}}</span>
</div>
<hr/>
{% empty %}
2024-01-26 11:00:26 +11:00
<p>Oh no! There are no events currently registered{% if category %} under '{{category}}'{% endif %}. Try checking out <a href="{% url 'blogs' %}">some blogs</a>.</p>
2024-01-09 18:11:22 +11:00
{% endfor %}
2024-01-04 11:54:56 +11:00
{% endblock %}