From f8ea75667fc9c7f978980b3862af2355c402af57 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Wed, 16 Jun 2021 08:15:14 +0200 Subject: [PATCH] Add instruction to clone --- templates/show-challenge.hamlet | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/show-challenge.hamlet b/templates/show-challenge.hamlet index a35cdc6..a5a4fe9 100644 --- a/templates/show-challenge.hamlet +++ b/templates/show-challenge.hamlet @@ -1,7 +1,8 @@ -

Git repo URL: #{repoUrl repo} / Branch: #{repoBranch repo} -$maybe repoLink <- maybeRepoLink - Browse at #{repoLink} -$nothing +

Git repo URL: #{repoUrl repo} / Branch: #{repoBranch repo} +
Run git clone --single-branch #{repoUrl repo} -b #{repoBranch repo} to get the challenge data + $maybe repoLink <- maybeRepoLink +
Browse at #{repoLink} + $nothing $if (challengeArchived challenge == Just True)

_{MsgChallengeIsArchived}