Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Поправил меню
Browse files Browse the repository at this point in the history
  • Loading branch information
langovoi committed Oct 15, 2014
1 parent 7555b3c commit c8dd54f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions views/particle/menu.twig
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>#}
{% if not App.user.isGuest() %}
<ul class="nav navbar-nav navbar-right">
<li><a>Текущая неделя: {{ this.getCurrentWeekNumber() }}</a></li>
<ul class="nav navbar-nav navbar-right">
<li><a>Текущая неделя: {{ this.getCurrentWeekNumber() }}</a></li>
{% if not App.user.isGuest() %}
{% if this.getCountUserNotifications() %}
<li><a href="{{ App.createUrl('user/notifications') }}">Оповещения <span
class="badge">{{ this.getCountUserNotifications() }}</span></a></li>{% endif %}
Expand All @@ -67,8 +67,10 @@
</ul>
</li>
<li><a href="{{ App.createUrl('site/logout') }}">Выйти</a></li>
</ul>
{% endif %}
{% else %}
<li><a href="{{ App.createUrl('site/login') }}">Войти</a></li>
{% endif %}
</ul>
</div>
</div>
</nav>

0 comments on commit c8dd54f

Please sign in to comment.