mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMPR: Minor fixtures
This commit is contained in:
parent
bd35c4f8e1
commit
04405b1ba3
9
templates/A2nt/CMSNiceties/Widgets/LinksWidget.ss
Executable file
9
templates/A2nt/CMSNiceties/Widgets/LinksWidget.ss
Executable file
@ -0,0 +1,9 @@
|
||||
<% with $Widget %>
|
||||
<% if $Links %>
|
||||
<% loop $Links %>
|
||||
<a href="$LinkURL"<% if $OpenInNewWindow %> target="_blank"<% end_if %> class="btn btn-default">
|
||||
$Title
|
||||
</a>
|
||||
<% end_loop %>
|
||||
<% end_if %>
|
||||
<% end_with %>
|
@ -41,7 +41,7 @@
|
||||
<div class="element">
|
||||
<div class="element_container">
|
||||
<div class="$DefaultContainer">
|
||||
$ExtraCode
|
||||
$ExtraCode.RAW
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<% if $HeroImageRecursive %>
|
||||
<div class="element element__hero-image">
|
||||
<div class="element-container">
|
||||
<% include SlideItem Image=$HeroImageRecursive, SlideWidth='2140', SlideHeight='450' %>
|
||||
$HeroImageRecursive.Fill(2140,450)
|
||||
</div>
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user