Private
Public Access
1
0

hrefs added trailing slashes

This commit is contained in:
Sander Roosendaal
2019-01-09 22:21:28 +01:00
parent a7af332db6
commit c454df269e
42 changed files with 3438 additions and 319 deletions

View File

@@ -43,11 +43,11 @@ $('#id_workouttype').change();
<p>
{% if workout|previousworkout:rower.user %}
<a href="/rowers/workout/{{ workout|previousworkout:rower.user }}/edit"
<a href="/rowers/workout/{{ workout|previousworkout:rower.user }}/edit/"
title="Jump to preceding workout"><em>Previous</em></a>&nbsp;
{% endif %}
{% if workout|nextworkout:rower.user %}
<a href="/rowers/workout/{{ workout|nextworkout:rower.user }}/edit"
<a href="/rowers/workout/{{ workout|nextworkout:rower.user }}/edit/"
title="Jump to following workout"><em>Next</em></a>
{% endif %}
</p>
@@ -57,7 +57,7 @@ $('#id_workouttype').change();
<li class="grid_4">
<p>
<div class="fb-share-button"
data-href="https://rowsandall.com/rowers/workout/{{ workout.id }}"
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 }}">Share</a>
</div>
@@ -86,7 +86,7 @@ $('#id_workouttype').change();
</tr><tr>
<th>Public link to this workout:</th>
<td>
<a href="/rowers/workout/{{ workout.id }}">https://rowsandall.com/rowers/workout/{{ workout.id }}</a>
<a href="/rowers/workout/{{ workout.id }}/">https://rowsandall.com/rowers/workout/{{ workout.id }}/</a>
</td>
</tr>
</table>
@@ -123,7 +123,7 @@ $('#id_workouttype').change();
<h1>Racing</h1>
{% for race in indoorraces %}
<p>
<a href="/rowers/virtualevent/{{ race.id }}/submit/{{ workout.id }}">Submit this to Indoor Race {{ race.name }}</a>
<a href="/rowers/virtualevent/{{ race.id }}/submit/{{ workout.id }}/">Submit this to Indoor Race {{ race.name }}</a>
</p>
{% endfor %}
</li>