Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3056] Open links to open formulieren and acties in new tabs #1631

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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_tab=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_tab 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
Loading