Skip to content

Commit

Permalink
Merge branch 'development' into feature/edit-succesfull-voting-on-bud…
Browse files Browse the repository at this point in the history
…geting-widget
  • Loading branch information
LorenzoJokhan authored Feb 13, 2023
2 parents 1dd2436 + 5c8d931 commit b6a20f9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@

{% if data.activeResource and data.activeResource.publishDate %}
<div class="{{data.widget.divId}}" style="width: 100%; height: 100%;"></div>
{% elif (data.isAdmin or data.isEditor or data.isModerator) and data.activeResourceType !== 'idea'%}
<p>Deze widget kan alleen worden gebruikt op pagina`s met een resource waarbij het activeResourceType idea is</p>
{% else %}
<p>Er kunnen geen argumenten worden gegeven op een concept plan</p>
<p>Er kunnen geen argumenten worden gegeven op een concept plan</p>
{% endif %}

</div>
4 changes: 2 additions & 2 deletions packages/cms/lib/modules/begroot-widgets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ const fields = [
def: 'Via onderstaande knop kun je op een aparte pagina je persoonlijke stemcode invullen. Wij controleren de stemcode op geldigheid. Als dat gelukt is kom je terug op deze pagina waarna je kunt stemmen. Alle bewoners van Centrum hebben per post een stemcode ontvangen.'
},
{
name: 'step_3_succesfull_auth',
label: 'Step 3: succesfull auth',
name: 'step_3_successful_auth',
label: 'Step 3: successful auth',
type: 'string',
textarea: true,
def: 'Het controleren van je stemcode is gelukt! Je bent bijna klaar. Klik op onderstaande knop om je stem te versturen.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h3 class="icon-header icon-header--blue">
<small>Vul een andere stemcode in</small>
</a>
<div>
{{data.widget.step_3_succesfull_auth}}
{{data.widget.step_3_successful_auth}}
</div>
</div>

Expand Down Expand Up @@ -340,7 +340,7 @@ <h3 class="icon-header icon-header--blue">
</div>
</a>
<div class="mobile-accordion-body">
{{data.widget.step_3_succesfull_auth}}
{{data.widget.step_3_successful_auth}}
</div>
</div>
<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
{
name: 'explanation-texts',
label: 'Explanation texts',
fields: ['step_1_intro', 'step_2_intro', 'step_3_intro', 'step_3_succesfull_auth','successful_voting_title', 'thankyou_message', 'showNewsletterButton', 'newsletterButtonText']
fields: ['step_1_intro', 'step_2_intro', 'step_3_intro', 'step_3_successful_auth','successful_voting_title', 'thankyou_message', 'showNewsletterButton', 'newsletterButtonText']
},
{
name: 'authentication',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const fields = [
def: 'Via onderstaande knop kun je op een aparte pagina je persoonlijke stemcode invullen. Wij controleren de stemcode op geldigheid. Als dat gelukt is kom je terug op deze pagina waarna je kunt stemmen. Alle bewoners van Centrum hebben per post een stemcode ontvangen.'
},
{
name: 'step_3_succesfull_auth',
name: 'step_3_successful_auth',
label: 'Step 3: succesfull auth',
type: 'string',
textarea: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h3 class="icon-header icon-header--blue">
<small>Vul een andere stemcode in</small>
</a>
<div>
{{data.widget.step_3_succesfull_auth}}
{{data.widget.step_3_successful_auth}}
</div>
</div>

Expand Down Expand Up @@ -352,7 +352,7 @@ <h3 class="icon-header icon-header--blue">
</div>
</a>
<div class="mobile-accordion-body">
{{data.widget.step_3_succesfull_auth}}
{{data.widget.step_3_successful_auth}}
</div>
</div>
<br />
Expand Down

1 comment on commit b6a20f9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published new image: openstad/frontend:feature-edit-succesfull-voting-on-budgeting-widget-b6a20f9

Please sign in to comment.