UI: 2024 Hero component options #103971
@ -8,54 +8,73 @@ li.nav-item
|
|||||||
a.nav-link(href="{{ album.get_absolute_url }}") Latest Photos
|
a.nav-link(href="{{ album.get_absolute_url }}") Latest Photos
|
||||||
| {% elif edition.albums.count %}
|
| {% elif edition.albums.count %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'albums' edition_path=edition.path %}",
|
a.nav-link(
|
||||||
|
href="{% url 'albums' edition_path=edition.path %}",
|
||||||
class="{% if 'photos' in request.path %}is-active{% endif %}") Photos
|
class="{% if 'photos' in request.path %}is-active{% endif %}") Photos
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endwith %}
|
| {% endwith %}
|
||||||
|
|
||||||
| {% if edition.flatpage_location_published %}
|
| {% if edition.flatpage_location_published %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'location' edition_path=edition.path %}") Location
|
a.nav-link(
|
||||||
|
href="{% url 'location' edition_path=edition.path %}",
|
||||||
|
class="{% if 'location' in request.path %}is-active{% endif %}")
|
||||||
|
| Location
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.flatpage_call_for_sponsors_published %}
|
| {% if edition.flatpage_call_for_sponsors_published %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'call_for_sponsorship' edition_path=edition.path %}") Call for Sponsorship
|
a.nav-link(
|
||||||
|
href="{% url 'call_for_sponsorship' edition_path=edition.path %}",
|
||||||
|
class="{% if 'sponsorship' in request.path %}is-active{% endif %}")
|
||||||
|
| Call for Sponsorship
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.flatpage_call_for_participation_published %}
|
| {% if edition.flatpage_call_for_participation_published %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'call_for_participation' edition_path=edition.path %}") Call for Participation
|
a.nav-link(
|
||||||
|
href="{% url 'call_for_participation' edition_path=edition.path %}",
|
||||||
|
class="{% if 'participation' in request.path %}is-active{% endif %}")
|
||||||
|
| Call for Participation
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.schedule_status == 'proposed' or edition.schedule_status == 'final' %}
|
| {% if edition.schedule_status == 'proposed' or edition.schedule_status == 'final' %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'schedule' edition_path=edition.path %}",
|
a.nav-link(
|
||||||
class="{% if 'schedule' in request.path %}is-active{% endif %}") Schedule
|
href="{% url 'schedule' edition_path=edition.path %}",
|
||||||
|
class="{% if 'schedule' in request.path %}is-active{% endif %}")
|
||||||
|
| Schedule
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.speakers_viewable %}
|
| {% if edition.speakers_viewable %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'speakers' edition_path=edition.path %}",
|
a.nav-link(
|
||||||
class="{% if 'speakers' in request.path %}is-active{% endif %}") Speakers
|
href="{% url 'speakers' edition_path=edition.path %}",
|
||||||
|
class="{% if 'speakers' in request.path %}is-active{% endif %}")
|
||||||
|
| Speakers
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.attendees_viewable and user_is_attending_edition %}
|
| {% if edition.attendees_viewable and user_is_attending_edition %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'attendees' edition_path=edition.path %}",
|
a.nav-link(
|
||||||
class="{% if 'attendees' in request.path %}is-active{% endif %}") Attendees
|
href="{% url 'attendees' edition_path=edition.path %}",
|
||||||
|
class="{% if 'attendees' in request.path %}is-active{% endif %}")
|
||||||
|
| Attendees
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if edition.flatpage_festival_published %}
|
| {% if edition.flatpage_festival_published %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="{% url 'festival' edition_path=edition.path %}",
|
a.nav-link(
|
||||||
class="{% if 'festival' in request.path %}is-active{% endif %}") Suzanne Awards
|
href="{% url 'festival' edition_path=edition.path %}",
|
||||||
|
class="{% if 'festival' in request.path %}is-active{% endif %}")
|
||||||
|
| Suzanne Awards
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if not edition.is_archived and edition.festival_voting_open %}
|
| {% if not edition.is_archived and edition.festival_voting_open %}
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(
|
a.nav-link(
|
||||||
href="{% url 'festival_entries_vote' edition_path=edition.path %}",
|
href="{% url 'festival_entries_vote' edition_path=edition.path %}",
|
||||||
class="{% if 'festival/entries/' in request.path %}is-active{% endif %}") Vote for Suzanne Awards
|
class="{% if 'festival/entries/' in request.path %}is-active{% endif %}")
|
||||||
|
| Vote for Suzanne Awards
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user