Private
Public Access
1
0

adding third setting

This commit is contained in:
Sander Roosendaal
2022-01-17 20:56:32 +01:00
parent d130093520
commit da50e33899
3 changed files with 14 additions and 16 deletions

View File

@@ -10,13 +10,6 @@
<h1>Change Workflow Page Layout for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
<ul class="main-content">
{% if workoutid %}
<li class="grid_4">
<p>
<a class="button gray small" href="/rowers/workout/{{ workoutid }}/workflow/">Return to Workout</a>
</p>
</li>
{% endif %}
<li>
<p>On this page, you can configure the content of your "Workflow" page
for each workout. If you want to remove an element, change it to "None".
@@ -32,15 +25,13 @@
<input class="grid_2 alpha button" type="submit" value="Save">
</form>
</li>
{% if workoutid %}
<li>
{% if rower.defaultlandingpage == 'workout_edit_view' %}
<p>Default landing page is Edit View. Set default landing page to</p>
<a class="button small" href="/rowers/me/workflowdefault/">Workflow View</a>
{% else %}
<p>Default landing page is Workflow View. Set default landing page to</p>
<a class="button small" href="/rowers/me/workflowdefault/">Edit View</a>
{% endif %}
<p>
<a class="button" href="/rowers/workout/{{ workoutid }}/workflow/">Return to Workout</a>
</p>
</li>
{% endif %}
</ul>