Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
44ea0425
Commit
44ea0425
authored
Nov 07, 2018
by
Thom Wiggers
📐
Browse files
Merge branch 'remove-obsolete-template-files' into 'master'
Remove obsolete template files See merge request
!1035
parents
acc0188e
c961d74a
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/templates/menu/old-menu.html
deleted
100644 → 0
View file @
acc0188e
<div
id=
"primary-navigation"
class=
"container fullwidth"
>
<!-- .menu-responsive -->
<a
class=
"menu-responsive"
><span
class=
"menu-icon-nav"
></span><span
class=
"menu-title"
>
Home
</span></a>
<!-- /.menu-responsive -->
<!-- menu -->
<ul
class=
"nav"
>
{% for item in menu %}
{% if not item.authenticated or request.user.is_authenticated %}
{% url item.name as path %}
<li
{%
if
request.path =
=
path
%}
class=
"nav-path-selected"
{%
endif
%}
>
<a
href=
"{% if path %}{{ path }}{% else %}{{ item.url }}{% endif %}"
target=
"_self"
{%
if
request.path =
=
path
%}
class=
"nav-path-selected"
{%
endif
%}
>
{{ item.title }}
</a>
{% if 'submenu' in item %}
{% include 'menu/old-submenu.html' with submenu=item.submenu %}
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
<!-- /menu -->
</div>
website/thaliawebsite/templates/menu/old-submenu.html
deleted
100644 → 0
View file @
acc0188e
<ul>
{% for item in submenu %}
{% if not item.authenticated or request.user.is_authenticated %}
{% url item.name as path %}
<li
{%
if
request.path =
=
path
%}
class=
"nav-selected nav-path-selected"
{%
endif
%}
>
<a
href=
"{% if path %}{{ path }}{% else %}{{ item.url }}{% endif %}"
target=
"_self"
{%
if
request.path =
=
path
%}
class=
"nav-selected nav-path-selected"
{%
endif
%}
>
{{ item.title }}
</a>
{% if 'submenu' in item %}
{% include 'menu/old-submenu.html' with submenu=item.submenu %}
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment