Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
8c05665c
Commit
8c05665c
authored
Oct 17, 2019
by
Bryan BRANCOTTE
Browse files
Adding ability to add entry in login_menu
parent
842d8cf9
Pipeline
#16458
passed with stage
in 26 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/basetheme_bootstrap/login_menu.html
View file @
8c05665c
...
...
@@ -12,11 +12,15 @@
><i
class=
"fa fa-user-circle-o"
></i>
<span
class=
"caret"
></span></a>
<div
class=
"dropdown-menu dropdown-menu-right"
aria-labelledby=
"dropdown-user{{suffix_id}}"
>
{%if request.user.is_staff %}
{% block login_menu_staff_dropdown_items %}
<a
class=
"dropdown-item"
href=
"/admin/"
><i
class=
"fa fa-cogs"
></i>
{%trans "Admin"%}
</a>
{% endblock %}
<div
class=
"dropdown-divider"
></div>
{%endif%}
{% block login_menu_dropdown_items %}
<a
class=
"dropdown-item"
href=
"{% url 'basetheme_bootstrap:account'%}"
><i
class=
"fa fa-user-circle-o"
></i>
{%trans "Account"%}
</a>
<a
class=
"dropdown-item"
href=
"{% url 'basetheme_bootstrap:logout'%}"
><i
class=
"fa fa-sign-out"
></i>
{%trans "Logout"%}
</a>
{% endblock %}
</div>
</li>
{%endif%}
\ No newline at end of file
setup.py
View file @
8c05665c
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'django-basetheme-bootstrap'
,
version
=
'0.2.2
4
'
,
version
=
'0.2.2
5
'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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