Skip to content

Commit

Permalink
Moved menu item to dropdown. #570 (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
souravbadami authored and Martti Sasi committed Jan 6, 2018
1 parent ba1d60a commit 7747903
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,16 @@
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en"
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Menu
<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en"
target="_new">{% trans "Add to chrome" %}</a></li>
<li><a href="/social">{% trans "Social" %}</a></li>
<li><a href="/report">{% trans "Report Bug" %}</a></li>
<li><a href="/social">{% trans "Social" %}</a></li>
<li><a href="/start">{% trans "Bug Hunt" %}</a></li>
</ul>
</li>
<li><a href="/start" class="sponsor-hunt">{% trans "Start a Bug Hunt" %}</a></li>

{% if request.user.is_authenticated %}
Expand Down
12 changes: 9 additions & 3 deletions website/templates/base_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,16 @@
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en"
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Menu
<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en"
target="_new">{% trans "Add to chrome" %}</a></li>
<li><a href="/social">{% trans "Social" %}</a></li>
<li><a href="/start" class="sponsor-hunt">{% trans "Bug Hunt" %}</a></li>
<li><a href="/social">{% trans "Social" %}</a></li>
<li><a href="/start">{% trans "Bug Hunt" %}</a></li>
</ul>
</li>
<li><a href="#" id="startTour" class="start-tour">{% trans "Tour" %}</a></li>

{% if request.user.is_authenticated %}
Expand Down

0 comments on commit 7747903

Please sign in to comment.