Skip to content

Commit

Permalink
Merge branch 'main' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
amici-infotech committed Jul 5, 2024
2 parents 90c938f + dbfef75 commit 64da08f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,21 @@ fieldLayouts:
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: f3d1f10a-2e4d-40dc-9dc4-d6aea55b51d7 # Buttons
handle: null
includeInCards: false
instructions: null
label: null
providesThumbs: false
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 87ab7838-69ae-4cbe-9f7b-0f73acaa556d
userCondition: null
warning: null
width: 100
-
elementCondition: null
heading: Settings
Expand Down
2 changes: 1 addition & 1 deletion config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1720155567
dateModified: 1720163236
email:
fromEmail: [email protected]
fromName: 'IJM Program Tracker'
Expand Down
13 changes: 13 additions & 0 deletions templates/_pages/jurisdictions/entry.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{% set stageValue = entry.stage.getValue()|default(null) %}
{% set country = entry.country.level(1).one() %}
{% set jurisdictionsCaseTypes = entry.jurisdictionsCaseTypes %}
{% set buttons = entry.buttons.all() %}

{% set perRowLimit = entry.perRowLimit.getValue()|default('2') %}
{% set imagePosition = entry.imagePosition.getValue()|default('right') %}
Expand Down Expand Up @@ -184,6 +185,18 @@
{% endif %}
</div>
{% endif %}

{% if buttons|length %}
<div class="mt-8">
{{ render.basicContents({
buttons: buttons,
defaultButtonType: 'link',
backgroundColorLabel: backgroundColorLabel,
opacity: overlayOpacity,
contentAlignment: 'left'
}) }}
</div>
{% endif %}
</div>

{% if heroImage|length %}
Expand Down

0 comments on commit 64da08f

Please sign in to comment.