Skip to content

Instantly share code, notes, and snippets.

@bangpound
Created September 14, 2015 07:21
Show Gist options
  • Save bangpound/eb44016ba93a64ba3de1 to your computer and use it in GitHub Desktop.
Save bangpound/eb44016ba93a64ba3de1 to your computer and use it in GitHub Desktop.
diff --git a/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php b/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
index 7928fc8..f0f9d71 100644
--- a/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
+++ b/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
@@ -216,12 +216,12 @@
<a ng-if="eventBuyTixTxt" href="{{eventBuyTixLink}}" class="button register" ng-bind="eventBuyTixTxt"></a>
</section>
- <section ng-if="socialLinkFB || twitterLinkFB || googleLinkFB" class="share no-print">
+ <section class="share no-print">
<h4>Share Event</h4>
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
- <a ng-if="socialLinkFB" class="addthis_button_facebook popup" href="{{socialLinkFB}}"><span class="share-icon facebook"></span></a>
- <a ng-if="twitterLinkFB" class="addthis_button_twitter popup" href="{{twitterLinkFB}}"><span class="share-icon twitter"></span></a>
- <a ng-if="googleLinkFB" class="addthis_button_google_plusone_share popup" href="{{googleLinkFB}}"><span class="share-icon googleplus"></span></a>
+ <a class="addthis_button_facebook popup" href="{{socialLinkFB}}"><span class="share-icon facebook"></span></a>
+ <a class="addthis_button_twitter popup" href="{{twitterLinkFB}}"><span class="share-icon twitter"></span></a>
+ <a class="addthis_button_google_plusone_share popup" href="{{googleLinkFB}}"><span class="share-icon googleplus"></span></a>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment