Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
9fac32be
Commit
9fac32be
authored
Sep 17, 2016
by
Daniel W Bond
Browse files
now that additional portions of the site are browsable, add them to the unauthenticated navbar
parent
6eb6b3c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/templates/layouts/navbar.html
View file @
9fac32be
...
...
@@ -11,13 +11,12 @@
</div>
<div
id=
"navbar"
class=
"navbar-collapse collapse"
>
<ul
class=
"nav navbar-nav"
>
{% if user.is_authenticated %}
{% if not user.is_authenticated %}
<li><a
href=
"{% url 'about' %}"
>
About
</a>
{% endif %}
<li><a
href=
"{% url 'list_buildings' %}"
>
Buildings
</a></li>
<li><a
href=
"{% url 'list_majors' %}"
>
Majors
</a></li>
{% else %}
<li><a
href=
"{% url 'about' %}"
>
About
</a>
</li>
{% endif %}
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
{% if user.is_authenticated %}
...
...
Write
Preview
Markdown
is supported
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