Created
October 13, 2014 15:49
-
-
Save mikebrogan/461f2d8a17a13f39a01f to your computer and use it in GitHub Desktop.
ECP: week view tooltip
This file contains 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
<script type="text/html" id="tribe_tmpl_tooltip"> | |
<div id="tribe-events-tooltip-[[=eventId]]" class="tribe-events-tooltip"> | |
<h4 class="entry-title summary">[[=title]]</h4> | |
<div class="tribe-events-event-body"> | |
<div class="duration"> | |
<abbr class="tribe-events-abbr updated published dtstart">[[=startTime]] </abbr> | |
[[ if(endTime.length) { ]] | |
-<abbr class="tribe-events-abbr dtend"> [[=endTime]]</abbr> | |
[[ } ]] | |
</div> | |
[[ if(imageTooltipSrc.length) { ]] | |
<div class="tribe-events-event-thumb"> | |
<img src="[[=imageTooltipSrc]]" alt="[[=title]]" /> | |
</div> | |
[[ } ]] | |
[[ if(excerpt.length) { ]] | |
<p class="entry-summary description">[[=raw excerpt]]</p> | |
[[ } ]] | |
[[ if(venue.length) { ]] | |
<p class="venue">[[=raw excerpt]]</p> | |
[[ } ]] | |
<span class="tribe-events-arrow"></span> | |
</div> | |
</div> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment