gonito/templates/submission-status.hamlet

23 lines
945 B
Plaintext
Raw Normal View History

2017-02-25 21:01:19 +01:00
$if isOwner
2018-07-30 07:59:38 +02:00
<a href="@{EditSubmissionAndVariantR submissionId variantId}">
<span class="glyphicon glyphicon-pencil" title="edit the submission" aria-hidden="true">
2017-02-25 21:01:19 +01:00
<a href="@{HideSubmissionR submissionId}">
<span class="glyphicon glyphicon-remove" title="remove the submission" aria-hidden="true">
2016-02-16 21:10:10 +01:00
$if isVisible
<a href="@{QueryResultsR commitHash}">
<span class="glyphicon glyphicon-info-sign" title="see the detailed information" aria-hidden="true">
2017-02-25 21:01:19 +01:00
2016-02-16 21:26:57 +01:00
$maybe browsableUrl <- maybeBrowsableUrl
<a href="#{browsableUrl}">
<span class="glyphicon glyphicon-folder-open" title="see the files aria-hidden="true">
2016-02-16 21:33:40 +01:00
$nothing
$if isOwner
<a href="@{MakePublicR submissionId}">
<span class="glyphicon glyphicon-share" title="make it public!" aria-hidden="true">
$if isReevaluable
<a href="@{ReevaluateSubmissionR submissionId}">
<span class="glyphicon glyphicon-repeat" title="re-evaluate" aria-hidden="true">