[extensions-web/wip/tomtryf/redesign] Revert "navbar: removed duplicate markup"
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/wip/tomtryf/redesign] Revert "navbar: removed duplicate markup"
- Date: Sun, 5 Mar 2017 19:52:57 +0000 (UTC)
commit 21dcbe177f44e45fae871ce6e29ebfb600e07361
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Mar 5 23:38:49 2017 +0400
Revert "navbar: removed duplicate markup"
This reverts commit 89675e57efc208d3d84a7dd42a8709639b39ceb8.
sweettooth/templates/base.html | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/templates/base.html b/sweettooth/templates/base.html
index 25649b8..0d39085 100644
--- a/sweettooth/templates/base.html
+++ b/sweettooth/templates/base.html
@@ -42,6 +42,20 @@
<span class="icon-bar bottom-bar"></span>
</button>
<a class="gnome-navbar-brand" title="GNOME Shell Extensions" href="/"><img src="{%
static 'images/gnome-extensions.svg' %}" alt="GNOME Shell Extensions" /></a>
+ <ul class="nav navbar-nav icons visible-xs">
+ {% if n_unreviewed_extensions %}
+ <li>
+ <a id="unreviewed_counter" href="{% url 'review-list' %}">{{
n_unreviewed_extensions }}</a>
+ </li>
+ {% endif%}
+ <li class="dropdown">
+ {% if request.user.is_authenticated %}
+ <a data-target="#userDropdownMenu" class="dropdown-toggle avatar"
data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img src="{% gravatar_url
request request.user.email %}"></a>
+ {% else %}
+ <a href="#userDropdownMenu" class="dropdown-toggle" data-toggle="dropdown"
role="button" aria-haspopup="true" aria-expanded="false"><img src="{% static 'images/avatar-default.svg' %}"
alt="GNOME Shell Extensions" /></a>
+ {% endif %}
+ </li>
+ </ul>
</div>
<ul class="nav navbar-nav navbar-right no-padding">
<li id="userDropdownMenu" class="dropdown">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]