Skip to content

Commit c8c671e

Browse files
author
Mike van den Hoek
committed
(feat): apply validation displayAllowedByConfidentialityDesignation in template-single-zaak
1 parent 790932c commit c8c671e

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

composer.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

htdocs/wp-content/themes/buren/templates/template-single-zaak.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
get_template_part('templates/mijn-zaken/header');
99

1010
?>
11-
<main class="page-main page-main--mijn-zaken container" id="readspeaker">
11+
<main class="container page-main page-main--mijn-zaken" id="readspeaker">
1212
<aside class="page-main__aside">
1313
<?php get_template_part('templates/mijn-zaken/sidebar'); ?>
1414
</aside>
@@ -61,7 +61,7 @@
6161
<?php if ($zaak->informationObjects() && $zaak->informationObjects()->count() > 0): ?>
6262
<ul class="zaak-documents">
6363
<?php foreach ($zaak->informationObjects() as $document) : ?>
64-
<?php if ($document->informatieobject->isCaseConfidential() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
64+
<?php if ($document->informatieobject->displayAllowedByConfidentialityDesignation() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
6565
<li class="zaak-documents-item">
6666
<svg class="zaak-documents-item-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" width="24" height="24">
6767
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9l-7-7Z"/>

htdocs/wp-content/themes/gouda/templates/template-single-zaak.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
get_template_part('templates/mijn-zaken/header');
99

1010
?>
11-
<main class="page-main page-main--mijn-zaken container" id="readspeaker">
11+
<main class="container page-main page-main--mijn-zaken" id="readspeaker">
1212
<aside class="page-main__aside">
1313
<?php get_template_part('templates/mijn-zaken/sidebar'); ?>
1414
</aside>
@@ -61,7 +61,7 @@
6161
<?php if ($zaak->informationObjects() && $zaak->informationObjects()->count() > 0): ?>
6262
<ul class="zaak-documents">
6363
<?php foreach ($zaak->informationObjects() as $document) : ?>
64-
<?php if ($document->informatieobject->isCaseConfidential() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
64+
<?php if ($document->informatieobject->displayAllowedByConfidentialityDesignation() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
6565
<li class="zaak-documents-item">
6666
<svg class="zaak-documents-item-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" width="24" height="24">
6767
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9l-7-7Z"/>

htdocs/wp-content/themes/owc-formulieren/templates/template-single-zaak.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
get_template_part('templates/mijn-zaken/header');
99

1010
?>
11-
<main class="page-main page-main--mijn-zaken container" id="readspeaker">
11+
<main class="container page-main page-main--mijn-zaken" id="readspeaker">
1212
<aside class="page-main__aside">
1313
<?php get_template_part('templates/mijn-zaken/sidebar'); ?>
1414
</aside>
@@ -61,7 +61,7 @@
6161
<?php if ($zaak->informationObjects() && $zaak->informationObjects()->count() > 0): ?>
6262
<ul class="zaak-documents">
6363
<?php foreach ($zaak->informationObjects() as $document) : ?>
64-
<?php if ($document->informatieobject->isCaseConfidential() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
64+
<?php if ($document->informatieobject->displayAllowedByConfidentialityDesignation() && ! empty($document->informatieobject->downloadUrl($zaak->getValue('identificatie', '')))) : ?>
6565
<li class="zaak-documents-item">
6666
<svg class="zaak-documents-item-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" width="24" height="24">
6767
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9l-7-7Z"/>

0 commit comments

Comments
 (0)