##// END OF EJS Templates
repo-remote: updated remote template to indicate pull/push remote sync differences.
marcink -
r2564:146d08cc default
parent child Browse files
Show More
@@ -6,14 +6,19 b''
6 6
7 7 <h4>${_('Manually pull/push changes from/to external URLs.')}</h4>
8 8
9 %if c.rhodecode_db_repo.clone_uri or c.rhodecode_db_repo.push_uri:
10
11 9 <table>
12 % if c.rhodecode_db_repo.clone_uri:
13 10 <tr>
14 11 <td><div style="min-width: 80px"><strong>${_('Pull url')}</strong></div></td>
15 <td><a href="${c.rhodecode_db_repo.clone_uri}">${c.rhodecode_db_repo.clone_uri_hidden}</a></td>
12 <td>
13 % if c.rhodecode_db_repo.clone_uri:
14 <a href="${c.rhodecode_db_repo.clone_uri}">${c.rhodecode_db_repo.clone_uri_hidden}</a>
15 % else:
16 ${_('This repository does not have any pull url set.')}
17 <a href="${h.route_path('edit_repo', repo_name=c.rhodecode_db_repo.repo_name)}">${_('Set remote url.')}</a>
18 % endif
19 </td>
16 20 </tr>
21 % if c.rhodecode_db_repo.clone_uri:
17 22 <tr>
18 23 <td></td>
19 24 <td>
@@ -40,10 +45,16 b''
40 45 </tr>
41 46 % endif
42 47
43 % if c.rhodecode_db_repo.push_uri:
44 48 <tr>
45 49 <td><div style="min-width: 80px"><strong>${_('Push url')}</strong></div></td>
46 <td><a href="${c.rhodecode_db_repo.push_uri_hidden}">${c.rhodecode_db_repo.push_uri_hidden}</a></td>
50 <td>
51 % if c.rhodecode_db_repo.push_uri:
52 <a href="${c.rhodecode_db_repo.push_uri_hidden}">${c.rhodecode_db_repo.push_uri_hidden}</a>
53 % else:
54 ${_('This repository does not have any push url set.')}
55 <a href="${h.route_path('edit_repo', repo_name=c.rhodecode_db_repo.repo_name)}">${_('Set remote url.')}</a>
56 % endif
57 </td>
47 58 </tr>
48 59 <tr>
49 60 <td></td>
@@ -51,19 +62,7 b''
51 62 ${_('This feature is available in RhodeCode EE edition only. Contact {sales_email} to obtain a trial license.').format(sales_email='<a href="mailto:sales@rhodecode.com">sales@rhodecode.com</a>')|n}
52 63 </td>
53 64 </tr>
54 % endif
55 65
56 66 </table>
57
58 %else:
59
60 ${_('This repository does not have any remote mirror url set.')}
61 <a href="${h.route_path('edit_repo', repo_name=c.rhodecode_db_repo.repo_name)}">${_('Set remote url.')}</a>
62 <br/>
63 <br/>
64 <button class="btn disabled" type="submit" disabled="disabled">
65 ${_('Pull changes from remote location')}
66 </button>
67 %endif
68 67 </div>
69 68 </div>
General Comments 0
You need to be logged in to leave comments. Login now