gonito/templates/submission-status.hamlet

19 lines
835 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}">
2017-02-25 21:01:19 +01:00
<span class="glyphicon glyphicon-pencil" title="click to edit the submission" aria-hidden="true">
<a href="@{HideSubmissionR submissionId}">
<span class="glyphicon glyphicon-remove" title="click to remove the submission" aria-hidden="true">
2016-02-16 21:10:10 +01:00
$if isVisible
<a href="@{QueryResultsR commitHash}">
2016-02-16 21:33:40 +01:00
<span class="glyphicon glyphicon-info-sign" title="click to 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}">
2016-02-16 21:33:40 +01:00
<span class="glyphicon glyphicon-folder-open" title="click to see the files aria-hidden="true">
$nothing
$if isOwner
<a href="@{MakePublicR submissionId}">
<span class="glyphicon glyphicon-share" title="click to make it public!" aria-hidden="true">