##// END OF EJS Templates
Repo summary box changes
Liviu -
r3620:5c632f5f new-ui
parent child Browse files
Show More
@@ -88,7 +88,6 b' div.readme_box pre {'
88 font-size: 13px !important;
88 font-size: 13px !important;
89 overflow: visible !important;
89 overflow: visible !important;
90 line-height: 140% !important;
90 line-height: 140% !important;
91 background-color: @grey7;
92 }
91 }
93
92
94 div.readme_box img {
93 div.readme_box img {
@@ -156,10 +155,10 b' div.readme_box code {'
156 }
155 }
157
156
158 div.readme_box pre {
157 div.readme_box pre {
159 border: @border-thickness solid @grey5;
158 border: @border-thickness solid #CBDBEB;
160 overflow: auto;
159 overflow: auto;
161 padding: .5em;
160 padding: .5em;
162 background-color: @grey7;
161 background-color: #FCFEFF;
163 }
162 }
164
163
165 div.readme_box pre > code {
164 div.readme_box pre > code {
@@ -3,11 +3,16 b''
3 // Used for headers and file detail summary screens.
3 // Used for headers and file detail summary screens.
4
4
5 .summary {
5 .summary {
6 float: left;
6 clear: both;
7 float: none;
7 position: relative;
8 position: relative;
8 width: 100%;
9 width: 100%;
9 margin: 0;
10 margin: 0;
10 padding: 0;
11 padding: 0;
12 background: #FCFCFC;
13 border: 1px solid #EAEAEA;
14 border-radius: @border-radius;
15 margin-bottom: 20px;
11
16
12 .summary-detail-header {
17 .summary-detail-header {
13 float: left;
18 float: left;
@@ -42,10 +47,10 b''
42 }
47 }
43
48
44 .summary-detail {
49 .summary-detail {
45 float: left;
50 float: none;
46 position: relative;
51 position: relative;
47 width: 73%;
52 width: 100%;
48 margin: 0 3% @space 0;
53 margin: 0;
49 padding: 0;
54 padding: 0;
50
55
51 .file_diff_buttons {
56 .file_diff_buttons {
@@ -62,19 +67,37 b''
62 height: 30px;
67 height: 30px;
63 margin: 0;
68 margin: 0;
64 padding: 0;
69 padding: 0;
65 width: 150px;
70 width: 100px;
66 font-weight: @text-semibold-weight;
71 font-weight: @text-semibold-weight;
67 font-family: @text-semibold;
72 font-family: @text-semibold;
68 }
73 }
74 .left-clone select {
75 width: 100px;
76 margin-right: 0;
77 background-color: @grey7;
78 border-color: @grey4;
79 color: #5C5C5C;
80 border-top-right-radius: 0;
81 border-bottom-right-radius: 0;
82 }
69
83
70 .right-clone {
84 .right-clone {
71 float: right;
85 float: left;
72 width: ~"calc(100% - 150px)";
86 width: ~"calc(100% - 150px)";
87
88 .clipboard-action {
89 margin-left: -30px;
90 }
73 }
91 }
74
92
75 .clone_url_input {
93 .clone_url_input {
76 width: ~"calc(100% - 35px)";
94 width: ~"calc(100% - 70px)";
77 padding: 6px 5px;
95 padding: 6px 30px 6px 10px;
96 height: 14px;
97 box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
98 border-top-left-radius: 0;
99 border-bottom-left-radius: 0;
100 margin-left: -1px;
78 }
101 }
79
102
80 &.directory {
103 &.directory {
@@ -124,18 +147,32 b''
124 border: @border-thickness solid @border-default-color;
147 border: @border-thickness solid @border-default-color;
125 .border-radius(@border-radius);
148 .border-radius(@border-radius);
126 }
149 }
150
151 .btn-collapse {
152 clear: both;
153 float: none;
154 background: #F7F7F7;
155 text-align: center;
156 color: #949494;
157 font-size: 11px;
158
159 &:hover {
160 background: #f1f1f1;
161 color: #2B2B2D;
162 }
163 }
127 }
164 }
128
165
129 // this is used outside of just the summary
166 // this is used outside of just the summary
130 .fieldset, // similar to form fieldset
167 .fieldset, // similar to form fieldset
131 .summary .sidebar-right-content { // these have to match
168 .summary .sidebar-right-content { // these have to match
132 clear: both;
169 clear: both;
133 float: left;
170 float: none;
134 position: relative;
171 position: relative;
135 display:block;
172 display:block;
136 width: 100%;
173 width: 100%;
137 min-height: 1em;
174 min-height: 1em;
138 margin-bottom: @textmargin;
175 margin-bottom: 10px;
139 padding: 0;
176 padding: 0;
140 line-height: 1.2em;
177 line-height: 1.2em;
141
178
@@ -158,9 +195,7 b''
158 .fieldset {
195 .fieldset {
159
196
160 .left-label { // similar to form legend
197 .left-label { // similar to form legend
161 float: left;
162 display: block;
198 display: block;
163 width: 25%;
164 margin: 0;
199 margin: 0;
165 padding: 0;
200 padding: 0;
166 font-weight: @text-semibold-weight;
201 font-weight: @text-semibold-weight;
@@ -168,16 +203,27 b''
168 }
203 }
169
204
170 .left-label-summary {
205 .left-label-summary {
171 .left-label;
206 padding-left: 20px;
172 width: 150px;
207 margin-bottom: 5px;
208
209 p {
210 margin-bottom: 5px;
211 color: @grey1;
212 }
213 }
214
215 .left-content {
216 width: ~"calc(50% - 20px)";
217 float: left;
218 margin: 15px 0 15px 20px;
173 }
219 }
174
220
175 .right-content { // similar to form fields
221 .right-content { // similar to form fields
176 float: left;
222 float: left;
177 display: block;
223 display: block;
178 width: 75%;
224 width: ~"calc(50% - 20px)";
179 margin: 0 0 0 -15%;
225 text-align: right;
180 padding: 0 0 0 15%;
226 margin: 15px 20px 15px 0;
181
227
182 .truncate-wrap,
228 .truncate-wrap,
183 .truncate {
229 .truncate {
@@ -188,6 +234,22 b''
188 .commit-long {
234 .commit-long {
189 overflow-x: auto;
235 overflow-x: auto;
190 }
236 }
237
238 .commit-info {
239 margin-top: 7px;
240 }
241
242 .tag, .tagtag, .branchtag, .booktag, .metatag, .perm_tag {
243 background:transparent;
244 border: none;
245 box-shadow: none;
246 margin-left: 10px;
247 font-size: 13px;
248 }
249
250 .tag span, .tag i {
251 color: @grey1;
252 }
191 }
253 }
192 .commit.truncate-wrap {
254 .commit.truncate-wrap {
193 overflow:hidden;
255 overflow:hidden;
@@ -223,11 +285,38 b''
223 }
285 }
224
286
225 // Quick Start section
287 // Quick Start section
288
289 .empty-repo {
290 border: 1px solid #EAEAEA;
291 border-bottom: 0;
292 border-radius: @border-radius;
293 padding: 0 20px;
294 }
295
296 .empty-repo h3, .quick_start p {
297 margin-bottom: 10px;
298 }
299
300 .quick_start pre {
301 background: #FCFEFF;
302 border: 1px solid #CBDBEB;
303 box-shadow: @button-shadow;
304 padding: 10px 15px;
305 border-radius: 4px;
306 color: @grey2;
307 }
308
309 .clearfix {
310 clear: both;
311 }
312
226 .quick_start {
313 .quick_start {
227 float: left;
228 display: block;
314 display: block;
229 position: relative;
315 position: relative;
230 width: 100%;
316 border: 1px solid #EAEAEA;
317 border-top: 0;
318 border-radius: @border-radius;
319 padding: 0 20px;
231
320
232 // adds some space to make copy and paste easier
321 // adds some space to make copy and paste easier
233 .left-label,
322 .left-label,
@@ -236,6 +325,7 b''
236 }
325 }
237 }
326 }
238
327
328
239 .submodule {
329 .submodule {
240 .summary-detail {
330 .summary-detail {
241 width: 100%;
331 width: 100%;
@@ -290,3 +380,26 b''
290
380
291 }
381 }
292
382
383 .rctable.repo_summary {
384 border: 1px solid #eaeaea;
385 border-radius: 2px;
386 border-collapse: inherit;
387 border-bottom: 0;
388
389 th {
390 background: @grey7;
391 border-bottom: 0;
392 }
393
394 td {
395 border-color: #eaeaea;
396 }
397
398 td.td-status {
399 padding-left: 10px;
400 }
401 }
402
403
404
405
@@ -1,29 +1,49 b''
1 <%def name="refs_counters(branches, closed_branches, tags, bookmarks)">
1 <%def name="refs_counters(branches, closed_branches, tags, bookmarks)">
2 <span class="branchtag tag">
2 <span class="branchtag tag">
3 <a href="${h.route_path('branches_home',repo_name=c.repo_name)}" class="childs">
3 <a href="${h.route_path('branches_home',repo_name=c.repo_name)}" class="childs">
4 <i class="icon-branch"></i>${_ungettext(
4 <i class="icon-branch"></i>
5 '%(num)s Branch','%(num)s Branches', len(branches)) % {'num': len(branches)}}</a>
5 % if len(branches) == 1:
6 <span>${len(branches)}</span> ${_('Branch')}
7 % else:
8 <span>${len(branches)}</span> ${_('Branches')}
9 % endif
10 </a>
6 </span>
11 </span>
7
12
8 %if closed_branches:
13 %if closed_branches:
9 <span class="branchtag tag">
14 <span class="branchtag tag">
10 <a href="${h.route_path('branches_home',repo_name=c.repo_name)}" class="childs">
15 <a href="${h.route_path('branches_home',repo_name=c.repo_name)}" class="childs">
11 <i class="icon-branch"></i>${_ungettext(
16 <i class="icon-branch"></i>
12 '%(num)s Closed Branch', '%(num)s Closed Branches', len(closed_branches)) % {'num': len(closed_branches)}}</a>
17 % if len(closed_branches) == 1:
18 <span>${len(closed_branches)}</span> ${_('Closed Branch')}
19 % else:
20 <span>${len(closed_branches)}</span> ${_('Closed Branches')}
21 % endif
22 </a>
13 </span>
23 </span>
14 %endif
24 %endif
15
25
16 <span class="tagtag tag">
26 <span class="tagtag tag">
17 <a href="${h.route_path('tags_home',repo_name=c.repo_name)}" class="childs">
27 <a href="${h.route_path('tags_home',repo_name=c.repo_name)}" class="childs">
18 <i class="icon-tag"></i>${_ungettext(
28 <i class="icon-tag"></i>
19 '%(num)s Tag', '%(num)s Tags', len(tags)) % {'num': len(tags)}}</a>
29 % if len(tags) == 1:
30 <span>${len(tags)}</span> ${_('Tag')}
31 % else:
32 <span>${len(tags)}</span> ${_('Tags')}
33 % endif
34 </a>
20 </span>
35 </span>
21
36
22 %if bookmarks:
37 %if bookmarks:
23 <span class="booktag tag">
38 <span class="booktag tag">
24 <a href="${h.route_path('bookmarks_home',repo_name=c.repo_name)}" class="childs">
39 <a href="${h.route_path('bookmarks_home',repo_name=c.repo_name)}" class="childs">
25 <i class="icon-bookmark"></i>${_ungettext(
40 <i class="icon-bookmark"></i>
26 '%(num)s Bookmark', '%(num)s Bookmarks', len(bookmarks)) % {'num': len(bookmarks)}}</a>
41 % if len(bookmarks) == 1:
42 <span>${len(bookmarks)}</span> ${_('Bookmark')}
43 % else:
44 <span>${len(bookmarks)}</span> ${_('Bookmarks')}
45 % endif
46 </a>
27 </span>
47 </span>
28 %endif
48 %endif
29 </%def>
49 </%def>
@@ -32,19 +52,8 b''
32 <% summary = lambda n:{False:'summary-short'}.get(n) %>
52 <% summary = lambda n:{False:'summary-short'}.get(n) %>
33
53
34 <div id="summary-menu-stats" class="summary-detail">
54 <div id="summary-menu-stats" class="summary-detail">
35 <div class="summary-detail-header">
36 <div class="breadcrumbs files_location">
37 <h4>
38 ${breadcrumbs_links}
39 </h4>
40 </div>
41 <div id="summary_details_expand" class="btn-collapse" data-toggle="summary-details">
42 ${_('Show More')}
43 </div>
44 </div>
45
46 <div class="fieldset">
55 <div class="fieldset">
47
56 <div class="left-content">
48 <div class="left-clone">
57 <div class="left-clone">
49 <select id="clone_option" name="clone_option">
58 <select id="clone_option" name="clone_option">
50 <option value="http" selected="selected">HTTP</option>
59 <option value="http" selected="selected">HTTP</option>
@@ -54,6 +63,7 b''
54 % endif
63 % endif
55 </select>
64 </select>
56 </div>
65 </div>
66
57 <div class="right-clone">
67 <div class="right-clone">
58 <%
68 <%
59 maybe_disabled = ''
69 maybe_disabled = ''
@@ -79,14 +89,9 b''
79 % if maybe_disabled:
89 % if maybe_disabled:
80 <p class="help-block">${_('SVN Protocol is disabled. To enable it, see the')} <a href="${h.route_url('enterprise_svn_setup')}" target="_blank">${_('documentation here')}</a>.</p>
90 <p class="help-block">${_('SVN Protocol is disabled. To enable it, see the')} <a href="${h.route_url('enterprise_svn_setup')}" target="_blank">${_('documentation here')}</a>.</p>
81 % endif
91 % endif
82
83 </div>
92 </div>
84 </div>
93 </div>
85
94
86 <div class="fieldset">
87 <div class="left-label-summary">
88 &nbsp;
89 </div>
90 <div class="right-content">
95 <div class="right-content">
91 <div class="commit-info">
96 <div class="commit-info">
92 <div class="tags">
97 <div class="tags">
@@ -105,19 +110,30 b''
105 ## commits
110 ## commits
106 <span class="tag">
111 <span class="tag">
107 % if commit_rev == -1:
112 % if commit_rev == -1:
108 ${_ungettext('%(num)s Commit', '%(num)s Commits', 0) % {'num': 0}}
113 <i class="icon-tag"></i>
114 % if commit_rev == -1:
115 <span>0</span> ${_('Commit')}
116 % else:
117 <span>0</span> ${_('Commits')}
118 % endif
109 % else:
119 % else:
110 <a href="${h.route_path('repo_changelog', repo_name=c.repo_name)}">
120 <a href="${h.route_path('repo_changelog', repo_name=c.repo_name)}">
111 ${_ungettext('%(num)s Commit', '%(num)s Commits', commit_rev) % {'num': commit_rev}}</a>
121 <i class="icon-tag"></i>
122 % if commit_rev == 1:
123 <span>${commit_rev}</span> ${_('Commit')}
124 % else:
125 <span>${commit_rev}</span> ${_('Commits')}
126 % endif
127 </a>
112 % endif
128 % endif
113 </span>
129 </span>
114
130
115 ## forks
131 ## forks
116 <span class="tag">
132 <span class="tag">
117 <a title="${_('Number of Repository Forks')}" href="${h.route_path('repo_forks_show_all', repo_name=c.repo_name)}">
133 <a title="${_('Number of Repository Forks')}" href="${h.route_path('repo_forks_show_all', repo_name=c.repo_name)}">
118 ${c.repository_forks} ${_ungettext('Fork', 'Forks', c.repository_forks)}</a>
134 <i class="icon-code-fork"></i>
135 <span>${c.repository_forks}</span> ${_ungettext('Fork', 'Forks', c.repository_forks)}</a>
119 </span>
136 </span>
120
121 </div>
137 </div>
122 </div>
138 </div>
123 </div>
139 </div>
@@ -125,9 +141,8 b''
125
141
126 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
142 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
127 <div class="left-label-summary">
143 <div class="left-label-summary">
128 ${_('Repository size')}:
144 <p>${_('Repository size')}</p>
129 </div>
145
130 <div class="right-content">
131 <div class="commit-info">
146 <div class="commit-info">
132 <div class="tags">
147 <div class="tags">
133 ## repo size
148 ## repo size
@@ -148,9 +163,8 b''
148
163
149 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
164 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
150 <div class="left-label-summary">
165 <div class="left-label-summary">
151 ${_('Description')}:
166 <p>${_('Description')}</p>
152 </div>
167
153 <div class="right-content">
154 <div class="input ${summary(c.show_stats)}">
168 <div class="input ${summary(c.show_stats)}">
155 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
169 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
156 ${dt.repo_desc(c.rhodecode_db_repo.description_safe, c.visual.stylify_metatags)}
170 ${dt.repo_desc(c.rhodecode_db_repo.description_safe, c.visual.stylify_metatags)}
@@ -161,9 +175,8 b''
161 % if show_downloads:
175 % if show_downloads:
162 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
176 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
163 <div class="left-label-summary">
177 <div class="left-label-summary">
164 ${_('Downloads')}:
178 <p>${_('Downloads')}</p>
165 </div>
179
166 <div class="right-content">
167 <div class="input ${summary(c.show_stats)} downloads">
180 <div class="input ${summary(c.show_stats)} downloads">
168 % if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
181 % if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
169 <span class="disabled">
182 <span class="disabled">
@@ -193,9 +206,8 b''
193 ## Statistics
206 ## Statistics
194 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
207 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
195 <div class="left-label-summary">
208 <div class="left-label-summary">
196 ${_('Statistics')}:
209 <p>${_('Statistics')}</p>
197 </div>
210
198 <div class="right-content">
199 <div class="input ${summary(c.show_stats)} statistics">
211 <div class="input ${summary(c.show_stats)} statistics">
200 % if c.show_stats:
212 % if c.show_stats:
201 <div id="lang_stats" class="enabled">
213 <div id="lang_stats" class="enabled">
@@ -214,18 +226,34 b''
214 </div>
226 </div>
215 </div>
227 </div>
216
228
229 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
230 <div class="left-label-summary">
231 <p>${_('Owner')}</p>
232
233
234 </div>
235 </div>
236
237 ## Context Action
238 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
239 <div class="left-label-summary">
240 %if c.rhodecode_user.username != h.DEFAULT_USER:
241 <a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name, _query=dict(auth_token=c.rhodecode_user.feed_token))}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
242 %else:
243 <a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
244 %endif
245 </div>
246 </div>
247
217 </div><!--end summary-detail-->
248 </div><!--end summary-detail-->
249
250 <div id="summary_details_expand" class="btn-collapse" data-toggle="summary-details">
251 ${_('Show More')}
252 </div>
218 </%def>
253 </%def>
219
254
220 <%def name="summary_stats(gravatar_function)">
255 <%def name="summary_stats(gravatar_function)">
221 <div class="sidebar-right">
256 <div class="">
222 <div class="summary-detail-header">
223 <h4 class="item">
224 ${_('Owner')}
225 </h4>
226 </div>
227 <div class="sidebar-right-content">
228 ${gravatar_function(c.rhodecode_db_repo.user.email, 16)}
257 ${gravatar_function(c.rhodecode_db_repo.user.email, 16)}
229 </div>
258 </div>
230 </div><!--end sidebar-right-->
231 </%def>
259 </%def>
@@ -9,21 +9,6 b''
9
9
10 <%def name="main()">
10 <%def name="main()">
11
11
12 <div class="title">
13 ## Context Action
14 <div>
15 <ul class="links icon-only-links block-right">
16 <li>
17 %if c.rhodecode_user.username != h.DEFAULT_USER:
18 <a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name, _query=dict(auth_token=c.rhodecode_user.feed_token))}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
19 %else:
20 <a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
21 %endif
22 </li>
23 </ul>
24 </div>
25 </div>
26
27 <div id="repo-summary" class="summary">
12 <div id="repo-summary" class="summary">
28 ${components.summary_detail(breadcrumbs_links=self.breadcrumbs_links(), show_downloads=True)}
13 ${components.summary_detail(breadcrumbs_links=self.breadcrumbs_links(), show_downloads=True)}
29 ${components.summary_stats(gravatar_function=self.gravatar_with_user)}
14 ${components.summary_stats(gravatar_function=self.gravatar_with_user)}
@@ -32,9 +17,12 b''
32
17
33 <div class="box" >
18 <div class="box">
34 %if not c.repo_commits:
19 %if not c.repo_commits:
20 <div class="empty-repo">
35 <div class="title">
21 <div class="title">
36 <h3>${_('Quick start')}</h3>
22 <h3>${_('Quick start')}</h3>
37 </div>
23 </div>
24 <div class="clearfix"></div>
25 </div>
38 %endif
26 %endif
39 <div class="table">
27 <div class="table">
40 <div id="shortlog_data">
28 <div id="shortlog_data">
@@ -106,19 +106,16 b''
106 %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
106 %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
107 <div class="quick_start">
107 <div class="quick_start">
108 <div class="fieldset">
108 <div class="fieldset">
109 <div class="left-label">${_('Add or upload files directly via RhodeCode:')}</div>
109 <p><b>${_('Add or upload files directly via RhodeCode:')}</b></p>
110 <div class="right-content">
111 <div id="add_node_id" class="add_node">
110 <div id="add_node_id" class="add_node">
112 <a href="${h.route_path('repo_files_add_file',repo_name=c.repo_name,commit_id=0, f_path='', _anchor='edit')}" class="btn btn-default">${_('Add New File')}</a>
111 <a href="${h.route_path('repo_files_add_file',repo_name=c.repo_name,commit_id=0, f_path='', _anchor='edit')}" class="btn btn-default">${_('Add New File')}</a>
113 </div>
112 </div>
114 </div>
115 %endif
113 %endif
116 </div>
114 </div>
117
115
118 %if not h.is_svn(c.rhodecode_repo):
116 %if not h.is_svn(c.rhodecode_repo):
119 <div class="fieldset">
117 <div class="fieldset">
120 <div class="left-label">${_('Push new repo:')}</div>
118 <p><b>${_('Push new repo:')}</b></p>
121 <div class="right-content">
122 <pre>
119 <pre>
123 ${c.rhodecode_repo.alias} clone ${c.clone_repo_url}
120 ${c.rhodecode_repo.alias} clone ${c.clone_repo_url}
124 ${c.rhodecode_repo.alias} add README # add first file
121 ${c.rhodecode_repo.alias} add README # add first file
@@ -126,10 +123,9 b''
126 ${c.rhodecode_repo.alias} push ${'origin master' if h.is_git(c.rhodecode_repo) else ''} # push changes back
123 ${c.rhodecode_repo.alias} push ${'origin master' if h.is_git(c.rhodecode_repo) else ''} # push changes back
127 </pre>
124 </pre>
128 </div>
125 </div>
129 </div>
126
130 <div class="fieldset">
127 <div class="fieldset">
131 <div class="left-label">${_('Existing repository?')}</div>
128 <p><b>${_('Existing repository?')}</b></p>
132 <div class="right-content">
133 <pre>
129 <pre>
134 %if h.is_git(c.rhodecode_repo):
130 %if h.is_git(c.rhodecode_repo):
135 git remote add origin ${c.clone_repo_url}
131 git remote add origin ${c.clone_repo_url}
@@ -139,7 +135,6 b' hg push ${c.clone_repo_url}'
139 %endif
135 %endif
140 </pre>
136 </pre>
141 </div>
137 </div>
142 </div>
143 %endif
138 %endif
144 </div>
139 </div>
145 %endif
140 %endif
General Comments 0
You need to be logged in to leave comments. Login now