Private
Public Access
1
0

adding privacy default on import or upload

This commit is contained in:
2024-12-19 15:51:17 +01:00
parent 9d500265e1
commit 009cdd289b
9 changed files with 72 additions and 24 deletions

View File

@@ -11,12 +11,16 @@
<th>Distance:</th><td>{{ workout.distance }}m</td>
</tr><tr>
<th>Duration:</th><td>{{ workout.duration |durationprint:"%H:%M:%S.%f" }}</td>
</tr><tr>
</tr>
{% if workout.privacy != 'hidden' %}
<tr>
<th>Public link to this workout</th>
<td>
<a href="/rowers/workout/{{ workout.id|encode }}">https://rowsandall.com/rowers/workout/{{ workout.id|encode }}</a>
</td>
</tr><tr>
</tr>
{% endif %}
<tr>
<th>Comments</th>
<td>
<a href="/rowers/workout/{{ workout.id|encode }}/comment">Comment ({{ aantalcomments }})</a>