Skip to content

Commit

Permalink
[#3056] Open links to open formulieren and acties in new tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Schilling committed Feb 20, 2025
1 parent eaf6816 commit 7311714
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% dropdown icon="more_horiz" %}
<div class="dropdown__item">
{% get_action_edit_url action=action plan=plan as action_url %}
{% button icon="edit" text=_("Bewerken") href=action_url icon_outlined=True transparent=True %}
{% button icon="edit" text=_("Bewerken") href=action_url icon_outlined=True transparent=True open_new_tag=True %}
</div>
<div class="dropdown__item">
{% if plan %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
href="{{ href }}"
title="{% firstof title text %}"
aria-label="{% firstof text title %}"
{% if href|startswith:"http" %}target="_blank"{% endif %}
{% if open_new_tag or href|startswith:"http" %}target="_blank"{% endif %}
{% as_attributes extra_attributes %}
{% if ariaExpanded %} aria-expanded="{{ ariaExpanded }}" {% endif %}
{% if ariaControls %} aria-controls="{{ ariaControls }}" {% endif %}
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 class="utrecht-heading-1" id="cases">{{ page_title }} ({{ paginator.count }}
{# open submissions ("openstaande aanvragen") #}
{% if case.case_type == "OpenSubmission" %}

<a href="{{ case.vervolg_link }}" class="card card card__description-card card--stretch">
<a href="{{ case.vervolg_link }}" class="card card card__description-card card--stretch" target="_blank">
<div class="card__body">

<h2 class="card__heading-2">{{ case.naam }}</h2>
Expand Down

0 comments on commit 7311714

Please sign in to comment.