Allow anybody to share an event on social media

This commit is contained in:
Michael Hall 2018-02-12 19:54:17 -02:00
parent 2cb2089678
commit e96dc59efb

View file

@ -36,9 +36,7 @@
{% if not is_attending %}
<a href="{% url 'attend-event' event.id %}" class="btn btn-success btn-sm">Attend</a>
{% endif %}
{% if can_edit_event %}
<a href="{% url 'share-event' event.id %}" class="btn btn-primary btn-sm">Share</a>
{% endif %}
</h2><p class="text-muted">Hosted by <a href="{% url "show-team" team.id %}">{{ team.name }}</a></p><hr/>
<p>{{ event.summary|markdown }}</p>