Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit 0d7acd6

Browse files
committed
Fix nav links
1 parent fe7d854 commit 0d7acd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/template.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,16 @@
109109
{% if event and event.registration_info.is_open and event.registration_info.remaining > 0 %}
110110
<li {% if block('page') == 'register' %}class="active"{% endif %}><a href="{{ langPrefix }}/{{ event.webname }}/register">{{ i18n('common.nav-register') }}</a></li>
111111
{% endif %}
112+
<li><a href="{{ langPrefix }}/{{ event.webname }}/schools">{{ i18n('common.nav-schools') }}</a></li>
112113
{% endif %}
113114
{% for link in event.special_links %}
114115
{% if link.location == 'header' %}
115116
<li><a href="{{ link.url }}"{% if link.new_window %} target="_blank"{% endif %}>{{ link.name }}</a></li>
116117
{% endif %}
117118
{% endfor %}
118-
<li><a href="{{ langPrefix }}/{{ event.webname }}/schools">{{ i18n('common.nav-schools') }}</a></li>
119119
<li><a href="{{ langPrefix }}/press" target="_blank">{{ i18n('common.nav-press') }}</a></li>
120120
{% if not event %}
121+
<li><a href="{{ langPrefix }}/volunteer">{{ i18n('common.nav-volunteer') }}</a></li>
121122
<li><a href="https://srnd.org/donate" target="_blank">{{ i18n('common.nav-donate') }}</a></li>
122123
{% endif %}
123124

0 commit comments

Comments
 (0)