From 5491d0e4959a2f4f22648cac8fc918e374a970e6 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Thu, 23 Jun 2022 09:07:37 +0000 Subject: [PATCH] UI: In RepoR page, display the HTTPS clone URL --- templates/repo/source-darcs.hamlet | 7 ++++++- templates/repo/source-git.hamlet | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/repo/source-darcs.hamlet b/templates/repo/source-darcs.hamlet index a049c3d..2d3dbc2 100644 --- a/templates/repo/source-darcs.hamlet +++ b/templates/repo/source-darcs.hamlet @@ -1,6 +1,7 @@ $# This file is part of Vervis. $# -$# Written in 2016, 2018, 2019, 2020 by fr33domlover . +$# Written in 2016, 2018, 2019, 2020, 2022 +$# by fr33domlover . $# $# ♡ Copying is an act of love. Please copy, reuse and share. $# @@ -57,6 +58,10 @@ $maybe desc <- repoDesc repository ^{followButton} +

Clone + +darcs clone @{RepoR user repo} +

Tags

TODO diff --git a/templates/repo/source-git.hamlet b/templates/repo/source-git.hamlet index 823b4cd..5e60568 100644 --- a/templates/repo/source-git.hamlet +++ b/templates/repo/source-git.hamlet @@ -1,6 +1,7 @@ $# This file is part of Vervis. $# -$# Written in 2016, 2018, 2019, 2020 by fr33domlover . +$# Written in 2016, 2018, 2019, 2020, 2022 +$# by fr33domlover . $# $# ♡ Copying is an act of love. Please copy, reuse and share. $# @@ -57,6 +58,10 @@ $maybe desc <- repoDesc repository ^{followButton} +

Clone + +git clone @{RepoR user repo} +

Branches