mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
10 lines
307 B
Scheme
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 %>
|