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
b7f08891
Commit
b7f08891
authored
Jan 29, 2015
by
Daniel W Bond
Browse files
navbar link that's long bugged me
parent
c0cb4007
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/templates/layouts/navbar.html
View file @
b7f08891
...
...
@@ -11,12 +11,13 @@
</div>
<div
id=
"navbar"
class=
"navbar-collapse collapse"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"/"
>
Home
</a>
{% if user.is_authenticated %}
<li><a
href=
"/housing/buildings"
>
Buildings
</a>
</li>
{% else %}
<li><a
href=
"{% url 'about' %}"
>
About
</a>
</li>
<li><a
href=
"/housing/buildings"
>
Buildings
</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