Private
Public Access
1
0

standards can be downloaded and deactivated

This commit is contained in:
Sander Roosendaal
2020-05-28 06:16:59 +02:00
parent 7f402225b8
commit 98efddb8d7
7 changed files with 163 additions and 46 deletions

View File

@@ -21,7 +21,18 @@
<ul class="main-content">
<li class="grid_4">
<div id="id_dropregion watermark invisible">
<p>Drag and drop files here </p>
<p>Drag and drop files here.
</p>
<p>
If you're updating an existing set of standard times,
existing groups with challenge entries will be updated. New
groups will be created. All groups with challenge entries will
remain, even if you delete them from the CSV file. So, it
is not possible to remove groups if there have been starts in this group.</p>
<p>
If you want to still remove those groups, it is better to set the
existing set of standard times to inactive and upload a new one.
</p>
</div>
<div id="id_drop-files" class="grid_12 alpha drop-files">
<form id="file_form" enctype="multipart/form-data" method="post">

View File

@@ -33,7 +33,11 @@
</table>
</li>
<li>
<p><a href="/rowers/standards/upload/{{ collection.id }}/">Update these Standard Times</a>
{% if request.user == collection.manager %}
<p><a href="/rowers/standards/upload/{{ collection.id }}/">Update these Standard Times</a></p>
<p><a href="/rowers/standards/{{ collection.id }}/deactivate/">Deactivate this standard</a></p>
{% endif %}
<p><a href="/rowers/standards/{{ collection.id }}/download/">Download as CSV file</a></p>
</li>
<li class="grid_4">
<h2>Standard Times</h2>