Skip to content

Commit

Permalink
Move extracted GDPR section below preferences on account page (#10441)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter authored Feb 5, 2024
1 parent 7217b37 commit 8d37904
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions packages/web-runtime/src/pages/account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@
</div>
</dl>
</div>
<div v-if="showGdprExport" class="account-page-gdpr-export oc-width-1-1">
<h2 class="oc-text-bold oc-mb" v-text="$gettext('GDPR')" />
<dt class="oc-text-normal oc-text-muted" v-text="$gettext('GDPR export')" />
<dd data-testid="gdpr-export">
<gdpr-export />
</dd>
</div>
<div>
<div class="oc-flex oc-width-1-1">
<h2 class="oc-text-bold" v-text="$gettext('Preferences')" />
Expand Down Expand Up @@ -137,6 +130,13 @@
</div>
</dl>
</div>
<div v-if="showGdprExport" class="account-page-gdpr-export oc-width-1-1">
<h2 class="oc-text-bold oc-mb" v-text="$gettext('GDPR')" />
<dt class="oc-text-normal oc-text-muted" v-text="$gettext('GDPR export')" />
<dd data-testid="gdpr-export">
<gdpr-export />
</dd>
</div>
</main>
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ exports[`account page > public link context > should render a limited view 1`] =
"<main data-v-f2ac0579="" id="account" class="oc-height-1-1 oc-m">
<h1 data-v-f2ac0579="" id="account-page-title" class="oc-page-title oc-m-rm oc-invisible-sr">Some Title</h1>
<!--v-if-->
<!--v-if-->
<div data-v-f2ac0579="">
<div data-v-f2ac0579="" class="oc-flex oc-width-1-1">
<h2 data-v-f2ac0579="" class="oc-text-bold">Preferences</h2>
Expand All @@ -58,5 +57,6 @@ exports[`account page > public link context > should render a limited view 1`] =
<!--v-if-->
</dl>
</div>
<!--v-if-->
</main>"
`;

0 comments on commit 8d37904

Please sign in to comment.