default landing page toggle button on workflow config
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<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".
|
||||
You can add one new element at a time.</p>
|
||||
<div class="grid_6 alpha">
|
||||
<div class="grid_4 alpha">
|
||||
<h2>Left Panel</h2>
|
||||
<form enctype="multipart/form-data" action="" method="post">
|
||||
{{ leftpanel_formset.management_form }}
|
||||
@@ -33,7 +33,7 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="grid_6 omega ">
|
||||
<div class="grid_4">
|
||||
<h2>Middle Panel</h2>
|
||||
<form enctype="multipart/form-data" action="" method="post">
|
||||
{{ middlepanel_formset.management_form }}
|
||||
@@ -45,6 +45,18 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="grid_4 omega">
|
||||
<div class="grid_2 prefix_2 alpha">
|
||||
{% if rower.defaultlandingpage == 'workout_edit_view' %}
|
||||
<p>Default landing page is Edit View. Set default landing page to</p>
|
||||
<a class="button green 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 green small" href="/rowers/me/workflowdefault">Edit View</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user