gonito/templates/submission-status.hamlet
2018-07-30 07:59:38 +02:00

19 lines
835 B
Plaintext

$if isOwner
<a href="@{EditSubmissionAndVariantR submissionId variantId}">
<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">
$if isVisible
<a href="@{QueryResultsR commitHash}">
<span class="glyphicon glyphicon-info-sign" title="click to see the detailed information" aria-hidden="true">
$maybe browsableUrl <- maybeBrowsableUrl
<a href="#{browsableUrl}">
<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">