show public repo only for public submissions

This commit is contained in:
Filip Gralinski 2016-02-16 21:13:23 +01:00
parent a08e61fcd2
commit 8fc0b659c9
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<h2>Search for submission by Git commit SHA1 hashes:
<p>(Only public submissions will be returned.)
<p>(Only your own submissions or public submissions will be returned.)
<p>
<form method=post action=@{QueryFormR}#form enctype=#{formEnctype}>

View File

@ -3,6 +3,7 @@
<div .subm-user>#{submitter}
<div .subm-stamp>#{stamp}
<div .subm-repo>taken from: #{repoUrl $ fsiRepo submission} / branch #{repoBranch $ fsiRepo submission}
<div .subm-repo>publicly available at: #{publicSubmissionRepo} / branch #{publicSubmissionBranch}
<div .subm-browsable>browsable at: <a href="#{browsableUrl}">#{browsableUrl}</a>
$if submissionIsPublic $ fsiSubmission submission
<div .subm-repo>publicly available at: #{publicSubmissionRepo} / branch #{publicSubmissionBranch}
<div .subm-browsable>browsable at: <a href="#{browsableUrl}">#{browsableUrl}</a>
<hr>