mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add many links to event detail. Potential fix for #34
This commit is contained in:
@@ -35,13 +35,21 @@
|
||||
<div class="panel-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Person</dt>
|
||||
<dd>{{ object.person.name }}</dd>
|
||||
<dd>
|
||||
<a href="{% url 'person_detail' object.person.pk %}" class="modal-href">
|
||||
{{ object.person.name }}
|
||||
</a>
|
||||
</dd>
|
||||
|
||||
<dt>Email</dt>
|
||||
<dd>{{ object.person.email }}</dd>
|
||||
<dd>
|
||||
<a href="mailto:{{object.person.email}}" target="_blank">
|
||||
{{ object.person.email }}
|
||||
</a>
|
||||
</dd>
|
||||
|
||||
<dt>Phone Number</dt>
|
||||
<dd>{{ object.person.phone }}</dd>
|
||||
<dd><a href="tel:{{object.person.phone}}">{{ object.person.phone }}</a></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@@ -51,10 +59,18 @@
|
||||
<div class="panel-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Organisation</dt>
|
||||
<dd>{{ object.organisation.name }}</dd>
|
||||
<dd>
|
||||
<a href="{% url 'organisation_detail' object.organisation.pk %}" class="modal-href">
|
||||
{{ object.organisation.name }}
|
||||
</a>
|
||||
</dd>
|
||||
|
||||
<dt>Phone Number</dt>
|
||||
<dd>{{ object.organisation.phone }}</dd>
|
||||
<dd>
|
||||
<a href="tel:{{object.person.phone}}">
|
||||
{{ object.organisation.phone }}
|
||||
</a>
|
||||
</dd>
|
||||
|
||||
<dt>Has SU Account</dt>
|
||||
<dd>{{ event.organisation.union_account|yesno|capfirst }}</dd>
|
||||
@@ -70,7 +86,7 @@
|
||||
<div class="panel-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Event Venue</dt>
|
||||
<dd>{{ object.venue }}</dd>
|
||||
<dd><a href="{% url 'venue_detail' object.venue.pk %}" class="modal-href">{{ object.venue }}</a></dd>
|
||||
|
||||
{% if event.is_rig %}
|
||||
<dt>Event MIC</dt>
|
||||
|
||||
Reference in New Issue
Block a user