Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Update links in the welcomeblock template to support url_route (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
1e4 authored and euantorano committed Jan 4, 2018
1 parent c0d79c2 commit 8a4d6d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/header/welcomeblock_member.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>
</li>
<li class="user-bar__links__item user-bar__notifications dropit-link">
<a href="index.php?page=account/notifications" class="user-bar__links__item__link icon fa-bell">
<a href="{{ url_route('account.notifications') }}" class="user-bar__links__item__link icon fa-bell">
<span class="visually-hidden">Notifications</span>
<span class="unread-count">4</span>
<i class="dropit-link__caret dropit-link__caret--down fa fa-caret-down"></i>
Expand All @@ -48,8 +48,8 @@
<div class="user-bar__dropdown dropdown">
<div class="dropdown__container dropdown__container--notifications">
<h2 class="dropdown__title">
<a href="index.php?page=account/notifications" class="dropdown__title__link">Notifications</a>
<a href="index.php?page=account/preferences" title="{{ trans('account.notify_preferences') }}"
<a href="{{ url_route('account.notifications') }}" class="dropdown__title__link">Notifications</a>
<a href="{{ url_route('account.preferences') }}" title="{{ trans('account.notify_preferences') }}"
class="dropdown__title__action icon fa-cog"><span class="visually-hidden">{{ trans('account.preferences') }}</span></a>
</h2>
<ul class="notifications">
Expand Down Expand Up @@ -82,7 +82,7 @@
</a>
</li>
<li class="notifications__view-all dropdown__view-all">
<a href="index.php?page=account/notifications" class="dropdown__view-all__link">View All Recent Notifications</a>
<a href="{{ url_route('account.notifications') }}" class="dropdown__view-all__link">View All Recent Notifications</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit 8a4d6d1

Please sign in to comment.