Show More
@@ -81,6 +81,10 b'' | |||
|
81 | 81 | |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | .input-monospace { | |
|
85 | font-family: @font-family-monospace; | |
|
86 | } | |
|
87 | ||
|
84 | 88 | .fields { |
|
85 | 89 | label { |
|
86 | 90 | color: @grey2; |
@@ -86,9 +86,9 b'' | |||
|
86 | 86 | </div> |
|
87 | 87 | <div class="pr-pullinfo"> |
|
88 | 88 | %if h.is_hg(c.pull_request.source_repo): |
|
89 | <input type="text" value="hg pull -r ${h.short_id(c.source_ref)} ${c.pull_request.source_repo.clone_url()}" readonly="readonly"> | |
|
89 | <input type="text" class="input-monospace" value="hg pull -r ${h.short_id(c.source_ref)} ${c.pull_request.source_repo.clone_url()}" readonly="readonly"> | |
|
90 | 90 | %elif h.is_git(c.pull_request.source_repo): |
|
91 | <input type="text" value="git pull ${c.pull_request.source_repo.clone_url()} ${c.pull_request.source_ref_parts.name}" readonly="readonly"> | |
|
91 | <input type="text" class="input-monospace" value="git pull ${c.pull_request.source_repo.clone_url()} ${c.pull_request.source_ref_parts.name}" readonly="readonly"> | |
|
92 | 92 | %endif |
|
93 | 93 | </div> |
|
94 | 94 | </div> |
@@ -123,9 +123,9 b'' | |||
|
123 | 123 | % if not c.pull_request.is_closed() and c.pull_request.shadow_merge_ref: |
|
124 | 124 | <div class="pr-mergeinfo"> |
|
125 | 125 | %if h.is_hg(c.pull_request.target_repo): |
|
126 | <input type="text" value="hg clone -u ${c.pull_request.shadow_merge_ref.name} ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
|
126 | <input type="text" class="input-monospace" value="hg clone -u ${c.pull_request.shadow_merge_ref.name} ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
|
127 | 127 | %elif h.is_git(c.pull_request.target_repo): |
|
128 | <input type="text" value="git clone --branch ${c.pull_request.shadow_merge_ref.name} ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
|
128 | <input type="text" class="input-monospace" value="git clone --branch ${c.pull_request.shadow_merge_ref.name} ${c.shadow_clone_url} pull-request-${c.pull_request.pull_request_id}" readonly="readonly"> | |
|
129 | 129 | %endif |
|
130 | 130 | </div> |
|
131 | 131 | % else: |
@@ -49,8 +49,8 b'' | |||
|
49 | 49 | ${_('Read-only url')}: |
|
50 | 50 | </div> |
|
51 | 51 | <div class="right-content disabled"> |
|
52 | <input type="text" id="clone_url" disabled value="${c.clone_repo_url}"/> | |
|
53 | <input type="text" id="clone_url_id" disabled value="${c.clone_repo_url_id}" style="display: none;"/> | |
|
52 | <input type="text" class="input-monospace" id="clone_url" disabled value="${c.clone_repo_url}"/> | |
|
53 | <input type="text" class="input-monospace" id="clone_url_id" disabled value="${c.clone_repo_url_id}" style="display: none;"/> | |
|
54 | 54 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> |
|
55 | 55 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> |
|
56 | 56 | <p class="help-block">${_('SVN Protocol is disabled. To enable it, see the')} <a href="${h.url('enterprise_svn_setup')}" target="_blank">${_('documentation here')}</a>.</p> |
@@ -60,8 +60,8 b'' | |||
|
60 | 60 | ${_('Clone url')}: |
|
61 | 61 | </div> |
|
62 | 62 | <div class="right-content"> |
|
63 | <input type="text" id="clone_url" readonly="readonly" value="${c.clone_repo_url}"/> | |
|
64 | <input type="text" id="clone_url_id" readonly="readonly" value="${c.clone_repo_url_id}" style="display: none;"/> | |
|
63 | <input type="text" class="input-monospace" id="clone_url" readonly="readonly" value="${c.clone_repo_url}"/> | |
|
64 | <input type="text" class="input-monospace" id="clone_url_id" readonly="readonly" value="${c.clone_repo_url_id}" style="display: none;"/> | |
|
65 | 65 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> |
|
66 | 66 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> |
|
67 | 67 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now