diff --git a/static/git-arr.css b/static/git-arr.css index a4ecc02..b0f2de5 100644 --- a/static/git-arr.css +++ b/static/git-arr.css @@ -205,6 +205,10 @@ table.repo_info tr:hover { } table.repo_info td.category { font-weight: bold; + /* So we can copy-paste rows and preserve spaces, useful for the row: + * git clone | url + */ + white-space: pre-wrap; } table.repo_info td { vertical-align: top; diff --git a/views/summary.html b/views/summary.html index 5038ef5..d30e895 100644 --- a/views/summary.html +++ b/views/summary.html @@ -25,7 +25,7 @@ % end % if repo.info.git_url: - repository + git clone {{! '
'.join(repo.info.git_url.split())}} % end