aboutsummaryrefslogtreecommitdiff
path: root/views/blob.html
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 17:11:47 +0200
committerAlberto Bertogli <albertito@blitiri.com.ar>2017-08-27 17:16:56 +0200
commitd7f0e4a2650734581d88b5c949868a8e7bcf788d (patch)
tree2a431293c2a87b6a33bd8d445ef07dfb50fe2033 /views/blob.html
parent56b0b34930dd3a0ec90035ea2db381fda63a24f8 (diff)
downloadgit-arr-fork-d7f0e4a2650734581d88b5c949868a8e7bcf788d.zip
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.
Diffstat (limited to 'views/blob.html')
0 files changed, 0 insertions, 0 deletions