This macro was working on 4.13 until our sysadmin just updated to 7.x.
I've been stumped as to why it is not working any further. Any help would be appreciated.
The macro essentially renders out one of three HTML buttons. But now this code is not working:
## Macro title: Button Generator
##
## @Param url:title=URL|type=string|desc=Insert URL
## @Param label:title=Label|type=enum|enumValues=Download,Search|default=Download
## @Param ext:title=External?|type=boolean|desc=Is this link external?|default=false
##
## Set icon value dependent on purpose value
#if ($paramlabel=="Download")
#set ($icontype="fa-cloud-download")
#set ($btnclr="download-color")
#elseif ($paramlabel=="Search")
#set ($icontype="fa-search")
#set ($btnclr="search-color")
#end
## REPLACE ICON IF EXTERNAL
#if ($paramext=='true')
#set ($icontype="fa-external-link")
#end
<span class="confluence-embedded-file-wrapper confluence-embedded-manual-size">
<a href="$paramurl"><button class="btn $btnclr"><i class="fa $icontype"></i> $paramlabel</button></a>
</span>