Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update navbar #5155

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 14 additions & 26 deletions app/dashboard/templates/shared/nav_auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
<i class="fas fa-tachometer-alt"></i>
{% trans "Dashboard" %}
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url "new_funding" %}">
<i class="fab fa-ethereum"></i>
{% trans "Fund Issue" %}
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url "tip" %}">
<i class="far fa-paper-plane"></i>
{% trans "Send Tip" %}
Expand All @@ -37,32 +43,15 @@
<i class="fas"><img src="{% static "v2/images/kudos/IconKudos.svg" %}"></i>
{% trans "Send Kudos" %}
</a>
<a class="dropdown-item" href="{% url "new_funding" %}">
<i class="fab fa-ethereum"></i>
{% trans "Fund Issue" %}
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url "grants:profile" %}">
<i class="fas"><img src="{% static "v2/images/grants/icons/black.svg" %}"></i>
{% trans "My Grants" %}
</a>
<a class="dropdown-item" data-gtm="explorer my bounties" href="{% url "explorer" %}?bounty_filter=createdByMe&network=mainnet&order_by=-web3_created">
<i class="fas"><img src="{% static "v2/images/grants/icons/black.svg" %}"></i>
{% trans "My Funded Bounties" %}
</a>
<a class="dropdown-item" data-gtm="explorer started bounties" href="{% url "explorer" %}?bounty_filter=startedByMe&network=mainnet&order_by=-web3_created">
<i class="fas"><img src="{% static "v2/images/grants/icons/black.svg" %}"></i>
{% trans "My Started Bounties" %}
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" data-gtm="avatar" href="{% url "onboard" "profile" %}?steps=avatar">
<i class="fas fa-user-edit"></i>
{% trans "My Avatar" %}
</a>
<a class="dropdown-item" data-gtm="profile" href="{% url "profile" %}">
<i class="fas fa-user"></i>
{% trans "My Profile" %}
</a>
<a class="dropdown-item" href="{% url "grants:profile" %}">
<i class="fas"><img src="{% static "v2/images/grants/icons/black.svg" %}"></i>
{% trans "My Grants" %}
</a>
{% else %}
<a class="dropdown-item" data-gtm="get started" href="{% url "get_gitcoin" %}">
<i class="fas fa-bolt"></i>
Expand Down Expand Up @@ -94,11 +83,10 @@
{% endfor %}
{% endif %}
{% if user.is_staff %}
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url "admin:index" %}">
<i class="fas fa-user-secret"></i>
{% trans "Administration" %}
</a>
<a class="dropdown-item" href="{% url "admin:index" %}">
<i class="fas fa-user-secret"></i>
{% trans "Administration" %}
</a>
{% endif %}
<div class="dropdown-divider"></div>
<a class="dropdown-item" data-gtm="logout" href="{% url "logout" %}?next={{ request.get_full_path }}">
Expand Down