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 | .fields { |
|
88 | .fields { | |
85 | label { |
|
89 | label { | |
86 | color: @grey2; |
|
90 | color: @grey2; |
@@ -86,9 +86,9 b'' | |||||
86 | </div> |
|
86 | </div> | |
87 | <div class="pr-pullinfo"> |
|
87 | <div class="pr-pullinfo"> | |
88 | %if h.is_hg(c.pull_request.source_repo): |
|
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 | %elif h.is_git(c.pull_request.source_repo): |
|
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 | %endif |
|
92 | %endif | |
93 | </div> |
|
93 | </div> | |
94 | </div> |
|
94 | </div> | |
@@ -123,9 +123,9 b'' | |||||
123 | % if not c.pull_request.is_closed() and c.pull_request.shadow_merge_ref: |
|
123 | % if not c.pull_request.is_closed() and c.pull_request.shadow_merge_ref: | |
124 | <div class="pr-mergeinfo"> |
|
124 | <div class="pr-mergeinfo"> | |
125 | %if h.is_hg(c.pull_request.target_repo): |
|
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 | %elif h.is_git(c.pull_request.target_repo): |
|
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 | %endif |
|
129 | %endif | |
130 | </div> |
|
130 | </div> | |
131 | % else: |
|
131 | % else: |
@@ -49,8 +49,8 b'' | |||||
49 | ${_('Read-only url')}: |
|
49 | ${_('Read-only url')}: | |
50 | </div> |
|
50 | </div> | |
51 | <div class="right-content disabled"> |
|
51 | <div class="right-content disabled"> | |
52 | <input type="text" id="clone_url" disabled value="${c.clone_repo_url}"/> |
|
52 | <input type="text" class="input-monospace" 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;"/> |
|
53 | <input type="text" class="input-monospace" id="clone_url_id" disabled value="${c.clone_repo_url_id}" style="display: none;"/> | |
54 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> |
|
54 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> | |
55 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> |
|
55 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> | |
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> |
|
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 | ${_('Clone url')}: |
|
60 | ${_('Clone url')}: | |
61 | </div> |
|
61 | </div> | |
62 | <div class="right-content"> |
|
62 | <div class="right-content"> | |
63 | <input type="text" id="clone_url" readonly="readonly" value="${c.clone_repo_url}"/> |
|
63 | <input type="text" class="input-monospace" 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;"/> |
|
64 | <input type="text" class="input-monospace" id="clone_url_id" readonly="readonly" value="${c.clone_repo_url_id}" style="display: none;"/> | |
65 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> |
|
65 | <a id="clone_by_name" class="clone" style="display: none;">${_('Show by Name')}</a> | |
66 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> |
|
66 | <a id="clone_by_id" class="clone">${_('Show by ID')}</a> | |
67 | </div> |
|
67 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now