added FB and Twitter share buttons
This commit is contained in:
@@ -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 }}&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>
|
||||
|
||||
Reference in New Issue
Block a user