Created
June 7, 2013 13:47
-
-
Save thePunderWoman/5729389 to your computer and use it in GitHub Desktop.
Linkable Setting image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (settings.Get("FreeShippingBanner") != "") { | |
if (settings.Get("FreeShippingLink") != "") { | |
<a href="@settings.Get("FreeShippingLink")"><img src="@settings.Get("FreeShippingBanner")" alt="Free Shipping" /></a> | |
} else { | |
<img src="@settings.Get("FreeShippingBanner")" alt="Free Shipping" /> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment