Private
Public Access
1
0

added FB and Twitter share buttons

This commit is contained in:
Sander Roosendaal
2017-10-09 11:07:29 +02:00
parent 5b5c5c68a9
commit 1c137a6852
6 changed files with 76 additions and 4 deletions

View File

@@ -27,9 +27,20 @@
<div id="workouts" class="grid_6 alpha">
<h1>{{ workout.name }}</h1>
<h1>{{ workout.name }}</h1>
<div class="grid_1 alpha">
<div class="fb-share-button" data-href="https://rowsandall.com/rowers/workout/{{ workout.id }}" data-layout="button" data-size="small" data-mobile-iframe="false">
<a class="fb-xfbml-parse-ignore" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://rowsandall.com/rowers/workout/{{ workout.id }}&amp;src=sdkpreparse">Share</a></div>
</div>
<div class="grid_1">
<a class="twitter-share-button"
href="https://twitter.com/intent/tweet"
data-url="https://rowsandall.com/rowers/workout/{{ workout.id }}"
data-text="@rowsandall">Tweet</a>
</div>
<table width=100%>
<tr>
<tr>
<th>Rower:</th><td>{{ first_name }} {{ last_name }}</td>
</tr><tr>
<tr>