Skip to content

Commit

Permalink
Update Mijn Berichten link with template tag
Browse files Browse the repository at this point in the history
  • Loading branch information
swrichards committed Oct 10, 2024
1 parent bbd854d commit 3ab2c05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
{{ rendered_cms_menu__home }}

<li class="primary-navigation__list-item">
{% link text='Omnichannel berichten' href='/hackathon/berichten/' icon="move_to_inbox" icon_position="before" icon_outlined=True %}
{% url 'berichten:list' as berichten_href %}
{% link text='Mijn berichten' href=berichten_href icon="move_to_inbox" icon_position="before" icon_outlined=True %}
</li>

{% if has_general_faq_questions %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@
<ul class="primary-navigation__list subpage-list">
{{ rendered_cms_menu__home }}



<li class="primary-navigation__list-item">
{% url 'berichten:list' as berichten_href %}
{% link text='Mijn berichten' href=berichten_href icon="move_to_inbox" icon_position="before" icon_outlined=True %}
</li>

{% if has_general_faq_questions %}
<li class="primary-navigation__list-item">
{% link text=_('FAQ') href='general_faq' icon="help_outline" icon_position="before" icon_outlined=True %}
</li>
{% endif %}

<li class="primary-navigation__list-item">
{% link text='Omnichannel berichten' href='/hackathon/berichten/' icon="move_to_inbox" icon_position="before" icon_outlined=True %}
</li>
<li class="header__list-item">
{% trans "Logout" as logout %}
{% link text=logout href=request.user.get_logout_url icon="logout" icon_position="before" primary=True %}
Expand Down

0 comments on commit 3ab2c05

Please sign in to comment.