git-arr/views
Alberto Bertogli d7f0e4a265 views: Change the "repository" line into "git clone"
We display the location of the repository, but the entire row is not
convenient for copy-pasting.

This patch changes the wording to "git clone" so the entire row can be
copied and pasted into a terminal.

There's a trick, because if we just changed the wording to:

  <td>git clone</td> <td>https://example.com/repo</td>

that would get copied as:

  git clone\thttps://example.com/repo

which does not work well when pasted into a terminal (as the \t gets
"eaten" in most cases).

So this patch changes the HTML to have a space after "clone":

  <td>git clone </td> <td>https://example.com/repo</td>

and the CSS to preserve the space, so the following gets copied:

  git clone \thttps://example.com/repo

which works when pasting on a terminal.
2017-08-27 16:16:56 +01:00
..
blob.html views: Improve display on mobile browsers 2015-11-18 00:29:34 +00:00
branch.html views: Improve display on mobile browsers 2015-11-18 00:29:34 +00:00
commit-list.html Initial commit 2012-11-10 17:49:54 +00:00
commit.html views: Improve display on mobile browsers 2015-11-18 00:29:34 +00:00
index.html style: In the index, make the project names explicit links 2017-08-27 15:29:24 +01:00
paginate.html views: branch/paginate: fix incorrectly enabled "next" link 2015-01-11 21:18:22 +00:00
summary.html views: Change the "repository" line into "git clone" 2017-08-27 16:16:56 +01:00
tree.html views: Improve display on mobile browsers 2015-11-18 00:29:34 +00:00