Skip to content

Commit

Permalink
Merge pull request #178 from Prakriti-nith/signin
Browse files Browse the repository at this point in the history
CB-225: Add Sign in button on error pages
  • Loading branch information
paramsingh committed Feb 16, 2018
2 parents e32d1fe + 173607a commit 7a4be3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions critiquebrainz/frontend/templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
</ul>
</li>
{% endif %}
{% else %}
{% if not current_user or current_user.is_anonymous %}
<li><a href="{{ url_for('login.index', next=request.url) }}">{{ _('Sign in') }}</a></li>
{% endif %}
{% endif %}
<li><a href="{{ url_for('review.browse') }}">{{ _('Browse reviews') }}</a></li>
<li><a href="{{ url_for('review.create') }}">{{ _('Write a review') }}</a></li>
Expand Down

0 comments on commit 7a4be3a

Please sign in to comment.