Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
bfef21b3
Commit
bfef21b3
authored
Aug 07, 2012
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A bit of login toolbar
parent
ebb25ab5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
wiki/plugins/notifications/templates/wiki/plugins/notifications/menubaritem.html
+0
-2
wiki/templates/wiki/base.html
+15
-1
No files found.
wiki/plugins/notifications/templates/wiki/plugins/notifications/menubaritem.html
View file @
bfef21b3
...
...
@@ -6,7 +6,6 @@
</script>
<script
type=
"text/javascript"
src=
"{{ STATIC_URL }}wiki/plugins/notifications/js/ui.js"
></script>
<ul
class=
"nav"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<span
class=
"badge notification-cnt"
>
0
</span>
...
...
@@ -20,5 +19,4 @@
<li><a
href=
"#"
onclick=
"notify_mark_read()"
>
{% trans "Clear notifications list" %}
</a></li>
</ul>
</li>
</ul>
wiki/templates/wiki/base.html
View file @
bfef21b3
...
...
@@ -57,8 +57,22 @@
</a>
<a
class=
"brand"
href=
"{% url 'wiki:root' %}"
>
django-wiki
</a>
<div
class=
"pull-right"
>
{% if user %}
{% if user.is_authenticated %}
<ul
class=
"nav"
>
{% include "wiki/plugins/notifications/menubaritem.html" %}
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<span
class=
"icon-user"
></span>
{{ user }}
<b
class=
"caret"
></b>
</a>
<ul
class=
"dropdown-menu"
>
<li>
<a
href=
"{% url 'admin:logout' %}"
>
{% trans "Log out" %}
</a>
</li>
</ul>
</li>
</ul>
{% else %}
<ul
class=
"nav"
>
<li>
...
...
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