Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit 5c2ad57

Browse files
author
Matthias Leutenegger
committed
change: use default content block
1 parent e373064 commit 5c2ad57

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dnadesign/silverstripe-elemental": "^4",
1515
"gorriecoe/silverstripe-link": "^1",
1616
"gorriecoe/silverstripe-linkfield": "^1",
17-
"syntro/silverstripe-elemental-bootstrap-baseitems": ">=0.3",
17+
"syntro/silverstripe-elemental-bootstrap-baseitems": ">=0.4",
1818
"syntro/silverstripe-elemental-icons": "^1"
1919
},
2020
"require-dev": {

templates/Syntro/SilverStripeElementalBootstrapListgroupSection/Elements/ListgroupSection.ss

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1+
<% include Syntro\SilverStripeElementalBaseitems\ContentBlock %>
2+
13
<div class="row justify-content-center text-center">
2-
<% if ShowTitle || Content %>
3-
<div class="{$ElementName}__contentholder col-12 col-md-10 col-lg-8 mb-4">
4-
<% if ShowTitle %>
5-
<h2 class="{$ElementName}__title mb-4">$Title</h2>
6-
<% end_if %>
7-
<% if $Content %>
8-
<p class="{$ElementName}__content">$Content</p>
9-
<% end_if %>
10-
</div>
11-
<% end_if %>
12-
<div class="w-100"></div>
134

145
<div class="{$ElementName}__list-groupholder col-12">
156
<ul class="{$ElementName}__list-group list-group shadow">

0 commit comments

Comments
 (0)