|
|
@ -89,9 +89,9 @@ |
|
|
|
</div> |
|
|
|
<div id="navbar" class="navbar-collapse collapse"> |
|
|
|
<ul id="nav-main-sections" class="nav navbar-nav"> |
|
|
|
{% if request.user.is_authenticated and request.project %} |
|
|
|
{% if request.user.is_authenticated and request.profile.current_project %} |
|
|
|
<li {% if page == 'checks' %} class="active" {% endif %}> |
|
|
|
<a href="{% url 'hc-checks' request.project.code %}">Checks</a> |
|
|
|
<a href="{% url 'hc-checks' request.profile.current_project.code %}">Checks</a> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li {% if page == 'channels' %} class="active" {% endif %}> |
|
|
@ -118,8 +118,8 @@ |
|
|
|
<a id="nav-email" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"> |
|
|
|
{% if check %} |
|
|
|
{{ check.project }} |
|
|
|
{% elif request.project %} |
|
|
|
{{ request.project }} |
|
|
|
{% elif request.profile.current_project %} |
|
|
|
{{ request.profile.current_project }} |
|
|
|
{% else %} |
|
|
|
{{ request.user.email }} |
|
|
|
{% endif %} |
|
|
|