1
1
mirror of https://github.com/a2nt/silverstripe-webpack.git synced 2024-10-22 17:05:31 +02:00
silverstripe-webpack/app/templates/Sheadawson/Linkable/Models/Link.ss

10 lines
307 B
Scheme

<% if $LinkURL %>
<a href="$LinkURL"{$TargetAttr}$ClassAttr title="Go to $Title">
<% if $Type == 'Phone' %>
<i class="fas fa-phone"></i>
<% else_if $Type == 'Email' %>
<i class="fas fa-envelope-open"></i>
<% end_if %>
$Title
</a>
<% end_if %>