Show More
@@ -395,7 +395,7 b' class ChangesetController(BaseRepoContro' | |||||
395 | # get status if set ! |
|
395 | # get status if set ! | |
396 | if status and change_status: |
|
396 | if status and change_status: | |
397 | # if latest status was from pull request and it's closed |
|
397 | # if latest status was from pull request and it's closed | |
398 |
# disallow changing status ! |
|
398 | # disallow changing status ! | |
399 | # dont_allow_on_closed_pull_request = True ! |
|
399 | # dont_allow_on_closed_pull_request = True ! | |
400 |
|
400 | |||
401 | try: |
|
401 | try: |
@@ -589,6 +589,3 b' else:' | |||||
589 | self.__cond.wait(timeout) |
|
589 | self.__cond.wait(timeout) | |
590 | finally: |
|
590 | finally: | |
591 | self.__cond.release() |
|
591 | self.__cond.release() | |
592 |
|
||||
593 |
|
||||
594 |
|
@@ -1317,4 +1317,4 b' class PullRequest(Base, BaseModel):' | |||||
1317 | org_repo_id = Column('org_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False) |
|
1317 | org_repo_id = Column('org_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False) | |
1318 | org_ref = Column('org_ref', Unicode(256), nullable=False) |
|
1318 | org_ref = Column('org_ref', Unicode(256), nullable=False) | |
1319 | other_repo_id = Column('other_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False) |
|
1319 | other_repo_id = Column('other_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False) | |
1320 | other_ref = Column('other_ref', Unicode(256), nullable=False) No newline at end of file |
|
1320 | other_ref = Column('other_ref', Unicode(256), nullable=False) |
@@ -49,7 +49,7 b' def upgrade(migrate_engine):' | |||||
49 | tbl = ChangesetStatus.__table__ |
|
49 | tbl = ChangesetStatus.__table__ | |
50 | tbl.create() |
|
50 | tbl.create() | |
51 |
|
51 | |||
52 |
## RESET COMPLETLY THE metadata for sqlalchemy to use the 1_3_0 Base |
|
52 | ## RESET COMPLETLY THE metadata for sqlalchemy to use the 1_3_0 Base | |
53 | Base = declarative_base() |
|
53 | Base = declarative_base() | |
54 | Base.metadata.clear() |
|
54 | Base.metadata.clear() | |
55 | Base.metadata = MetaData() |
|
55 | Base.metadata = MetaData() |
@@ -206,7 +206,7 b' def get_repos(path, recursive=False):' | |||||
206 | def is_valid_repo(repo_name, base_path, scm=None): |
|
206 | def is_valid_repo(repo_name, base_path, scm=None): | |
207 | """ |
|
207 | """ | |
208 | Returns True if given path is a valid repository False otherwise. |
|
208 | Returns True if given path is a valid repository False otherwise. | |
209 |
If scm param is given also compare if given scm is the same as expected |
|
209 | If scm param is given also compare if given scm is the same as expected | |
210 | from scm parameter |
|
210 | from scm parameter | |
211 |
|
211 | |||
212 | :param repo_name: |
|
212 | :param repo_name: |
@@ -15,4 +15,4 b' from mercurial.encoding import tolocal' | |||||
15 | from mercurial import discovery |
|
15 | from mercurial import discovery | |
16 | from mercurial import localrepo |
|
16 | from mercurial import localrepo | |
17 | from mercurial import scmutil |
|
17 | from mercurial import scmutil | |
18 | from mercurial.discovery import findcommonoutgoing No newline at end of file |
|
18 | from mercurial.discovery import findcommonoutgoing |
@@ -340,4 +340,4 b' def PullRequestForm():' | |||||
340 | pullrequest_title = v.UnicodeString(strip=True, required=True, min=3) |
|
340 | pullrequest_title = v.UnicodeString(strip=True, required=True, min=3) | |
341 | pullrequest_desc = v.UnicodeString(strip=True, required=False) |
|
341 | pullrequest_desc = v.UnicodeString(strip=True, required=False) | |
342 |
|
342 | |||
343 | return _PullRequestForm No newline at end of file |
|
343 | return _PullRequestForm |
@@ -115,7 +115,7 b'' | |||||
115 | ${h.checkbox('enable_locking',value="True")} |
|
115 | ${h.checkbox('enable_locking',value="True")} | |
116 | <span class="help-block">${_('Enable lock-by-pulling on repository.')}</span> |
|
116 | <span class="help-block">${_('Enable lock-by-pulling on repository.')}</span> | |
117 | </div> |
|
117 | </div> | |
118 |
</div> |
|
118 | </div> | |
119 | <div class="field"> |
|
119 | <div class="field"> | |
120 | <div class="label"> |
|
120 | <div class="label"> | |
121 | <label for="user">${_('Owner')}:</label> |
|
121 | <label for="user">${_('Owner')}:</label> | |
@@ -193,7 +193,7 b'' | |||||
193 | <li>${_('Manually invalidate cache for this repository. On first access repository will be cached again')} |
|
193 | <li>${_('Manually invalidate cache for this repository. On first access repository will be cached again')} | |
194 | </li> |
|
194 | </li> | |
195 | </ul> |
|
195 | </ul> | |
196 |
</div> |
|
196 | </div> | |
197 | <div class="field" style="border:none;"> |
|
197 | <div class="field" style="border:none;"> | |
198 | ${_('List of cached values')} |
|
198 | ${_('List of cached values')} | |
199 | <ul> |
|
199 | <ul> | |
@@ -201,7 +201,7 b'' | |||||
201 | <li>INSTANCE ID:${cache.prefix or '-'} ${cache.cache_args} CACHED: ${h.bool2icon(cache.cache_active)}</li> |
|
201 | <li>INSTANCE ID:${cache.prefix or '-'} ${cache.cache_args} CACHED: ${h.bool2icon(cache.cache_active)}</li> | |
202 | %endfor |
|
202 | %endfor | |
203 | </ul> |
|
203 | </ul> | |
204 |
</div> |
|
204 | </div> | |
205 | </div> |
|
205 | </div> | |
206 | </div> |
|
206 | </div> | |
207 | ${h.end_form()} |
|
207 | ${h.end_form()} | |
@@ -243,7 +243,7 b'' | |||||
243 | <li>${_('Force locking on repository. Works only when anonymous access is disabled')} |
|
243 | <li>${_('Force locking on repository. Works only when anonymous access is disabled')} | |
244 | </li> |
|
244 | </li> | |
245 | </ul> |
|
245 | </ul> | |
246 |
</div> |
|
246 | </div> | |
247 | </div> |
|
247 | </div> | |
248 | ${h.end_form()} |
|
248 | ${h.end_form()} | |
249 |
|
249 | |||
@@ -259,9 +259,9 b'' | |||||
259 | <li>${_('''Manually set this repository as a fork of another from the list''')}</li> |
|
259 | <li>${_('''Manually set this repository as a fork of another from the list''')}</li> | |
260 | </ul> |
|
260 | </ul> | |
261 | </div> |
|
261 | </div> | |
262 |
</div> |
|
262 | </div> | |
263 | ${h.end_form()} |
|
263 | ${h.end_form()} | |
264 |
|
264 | |||
265 | <h3>${_('Delete')}</h3> |
|
265 | <h3>${_('Delete')}</h3> | |
266 | ${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')} |
|
266 | ${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')} | |
267 | <div class="form"> |
|
267 | <div class="form"> | |
@@ -276,7 +276,7 b'' | |||||
276 | </ul> |
|
276 | </ul> | |
277 | </div> |
|
277 | </div> | |
278 | </div> |
|
278 | </div> | |
279 |
${h.end_form()} |
|
279 | ${h.end_form()} | |
280 | </div> |
|
280 | </div> | |
281 |
|
281 | |||
282 | </%def> |
|
282 | </%def> |
@@ -74,8 +74,8 b'' | |||||
74 | </div> \ |
|
74 | </div> \ | |
75 | </td> \ |
|
75 | </td> \ | |
76 | <td></td>'""") |
|
76 | <td></td>'""") | |
77 |
%> |
|
77 | %> | |
78 |
## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' |
|
78 | ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' | |
79 | <tr class="new_members last_new_member" id="add_perm_input"></tr> |
|
79 | <tr class="new_members last_new_member" id="add_perm_input"></tr> | |
80 | <tr> |
|
80 | <tr> | |
81 | <td colspan="6"> |
|
81 | <td colspan="6"> |
@@ -58,8 +58,8 b'' | |||||
58 | </div> \ |
|
58 | </div> \ | |
59 | </td> \ |
|
59 | </td> \ | |
60 | <td></td>'""") |
|
60 | <td></td>'""") | |
61 |
%> |
|
61 | %> | |
62 |
## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' |
|
62 | ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' | |
63 | <tr class="new_members last_new_member" id="add_perm_input"></tr> |
|
63 | <tr class="new_members last_new_member" id="add_perm_input"></tr> | |
64 | <tr> |
|
64 | <tr> | |
65 | <td colspan="6"> |
|
65 | <td colspan="6"> |
@@ -5,7 +5,7 b'' | |||||
5 | </%def> |
|
5 | </%def> | |
6 |
|
6 | |||
7 | <%def name="breadcrumbs()"> |
|
7 | <%def name="breadcrumbs()"> | |
8 |
<span class="groups_breadcrumbs"> |
|
8 | <span class="groups_breadcrumbs"> | |
9 | ${h.link_to(_(u'Home'),h.url('/'))} |
|
9 | ${h.link_to(_(u'Home'),h.url('/'))} | |
10 | %if c.group.parent_group: |
|
10 | %if c.group.parent_group: | |
11 | » ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))} |
|
11 | » ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))} |
@@ -69,7 +69,7 b'' | |||||
69 | ${h.checkbox('enable_locking',value="True")} |
|
69 | ${h.checkbox('enable_locking',value="True")} | |
70 | <span class="help-block">${_('Enable lock-by-pulling on group. This option will be applied to all other groups and repositories inside')}</span> |
|
70 | <span class="help-block">${_('Enable lock-by-pulling on group. This option will be applied to all other groups and repositories inside')}</span> | |
71 | </div> |
|
71 | </div> | |
72 |
</div> |
|
72 | </div> | |
73 | <div class="buttons"> |
|
73 | <div class="buttons"> | |
74 | ${h.submit('save',_('Save'),class_="ui-btn large")} |
|
74 | ${h.submit('save',_('Save'),class_="ui-btn large")} | |
75 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
|
75 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
@@ -154,7 +154,7 b'' | |||||
154 | <li>[stale] <span class="metatag" tag="stale">stale</span></li> |
|
154 | <li>[stale] <span class="metatag" tag="stale">stale</span></li> | |
155 | <li>[dead] <span class="metatag" tag="dead">dead</span></li> |
|
155 | <li>[dead] <span class="metatag" tag="dead">dead</span></li> | |
156 | <li>[lang => lang] <span class="metatag" tag="lang" >lang</span></li> |
|
156 | <li>[lang => lang] <span class="metatag" tag="lang" >lang</span></li> | |
157 |
<li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li> |
|
157 | <li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li> | |
158 | <li>[requires => Repo] <span class="metatag" tag="requires" >requires => <a href="#" >Repo</a></span></li> |
|
158 | <li>[requires => Repo] <span class="metatag" tag="requires" >requires => <a href="#" >Repo</a></span></li> | |
159 | <li>[recommends => Repo] <span class="metatag" tag="recommends" >recommends => <a href="#" >Repo</a></span></li> |
|
159 | <li>[recommends => Repo] <span class="metatag" tag="recommends" >recommends => <a href="#" >Repo</a></span></li> | |
160 | <li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a> </span></li> |
|
160 | <li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a> </span></li> | |
@@ -237,9 +237,9 b'' | |||||
237 | ## ${h.checkbox('extensions_hggit','True')} |
|
237 | ## ${h.checkbox('extensions_hggit','True')} | |
238 | ## <label for="extensions_hggit">${_('hg-git extensions')}</label> |
|
238 | ## <label for="extensions_hggit">${_('hg-git extensions')}</label> | |
239 | ##</div> |
|
239 | ##</div> | |
240 |
##<span class="help-block">${_('Requires hg-git library installed. Allows clonning from git remote locations')}</span> |
|
240 | ##<span class="help-block">${_('Requires hg-git library installed. Allows clonning from git remote locations')}</span> | |
241 | </div> |
|
241 | </div> | |
242 |
</div> |
|
242 | </div> | |
243 | <div class="field"> |
|
243 | <div class="field"> | |
244 | <div class="label"> |
|
244 | <div class="label"> | |
245 | <label for="paths_root_path">${_('Repositories location')}:</label> |
|
245 | <label for="paths_root_path">${_('Repositories location')}:</label> |
@@ -152,7 +152,7 b'' | |||||
152 | <span class="help-block">${h.literal(_('Select to inherit permissions from %s settings. ' |
|
152 | <span class="help-block">${h.literal(_('Select to inherit permissions from %s settings. ' | |
153 | 'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}</span> |
|
153 | 'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}</span> | |
154 | </div> |
|
154 | </div> | |
155 |
<div id="inherit_overlay" style="${'opacity:0.3' if c.user.inherit_default_permissions else ''}" > |
|
155 | <div id="inherit_overlay" style="${'opacity:0.3' if c.user.inherit_default_permissions else ''}" > | |
156 | <div class="field"> |
|
156 | <div class="field"> | |
157 | <div class="label label-checkbox"> |
|
157 | <div class="label label-checkbox"> | |
158 | <label for="create_repo_perm">${_('Create repositories')}:</label> |
|
158 | <label for="create_repo_perm">${_('Create repositories')}:</label> | |
@@ -169,7 +169,7 b'' | |||||
169 | ${h.checkbox('fork_repo_perm',value=True)} |
|
169 | ${h.checkbox('fork_repo_perm',value=True)} | |
170 | </div> |
|
170 | </div> | |
171 | </div> |
|
171 | </div> | |
172 |
</div> |
|
172 | </div> | |
173 | <div class="buttons"> |
|
173 | <div class="buttons"> | |
174 | ${h.submit('save',_('Save'),class_="ui-btn large")} |
|
174 | ${h.submit('save',_('Save'),class_="ui-btn large")} | |
175 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
|
175 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
@@ -112,7 +112,7 b'' | |||||
112 | </div> |
|
112 | </div> | |
113 | <span class="help-block">${h.literal(_('Select to inherit permissions from %s settings. ' |
|
113 | <span class="help-block">${h.literal(_('Select to inherit permissions from %s settings. ' | |
114 | 'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}</span> |
|
114 | 'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}</span> | |
115 |
</div> |
|
115 | </div> | |
116 | <div id="inherit_overlay" style="${'opacity:0.3' if c.users_group.inherit_default_permissions else ''}" > |
|
116 | <div id="inherit_overlay" style="${'opacity:0.3' if c.users_group.inherit_default_permissions else ''}" > | |
117 | <div class="field"> |
|
117 | <div class="field"> | |
118 | <div class="label label-checkbox"> |
|
118 | <div class="label label-checkbox"> | |
@@ -130,7 +130,7 b'' | |||||
130 | ${h.checkbox('fork_repo_perm',value=True)} |
|
130 | ${h.checkbox('fork_repo_perm',value=True)} | |
131 | </div> |
|
131 | </div> | |
132 | </div> |
|
132 | </div> | |
133 |
</div> |
|
133 | </div> | |
134 | <div class="buttons"> |
|
134 | <div class="buttons"> | |
135 | ${h.submit('save',_('Save'),class_="ui-btn large")} |
|
135 | ${h.submit('save',_('Save'),class_="ui-btn large")} | |
136 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
|
136 | ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
@@ -1,7 +1,7 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%inherit file="main.html"/> |
|
2 | <%inherit file="main.html"/> | |
3 |
|
3 | |||
4 |
User <b>${pr_user_created}</b> opened pull request for repository |
|
4 | User <b>${pr_user_created}</b> opened pull request for repository | |
5 | ${pr_repo_url} and wants you to review changes. |
|
5 | ${pr_repo_url} and wants you to review changes. | |
6 |
|
6 | |||
7 | <div>title: ${pr_title}</div> |
|
7 | <div>title: ${pr_title}</div> |
@@ -1,6 +1,6 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%inherit file="main.html"/> |
|
2 | <%inherit file="main.html"/> | |
3 |
|
3 | |||
4 | User <b>${pr_comment_user}</b> commented on pull request #${pr_id} for |
|
4 | User <b>${pr_comment_user}</b> commented on pull request #${pr_id} for | |
5 | repository ${pr_target_repo} |
|
5 | repository ${pr_target_repo} | |
6 |
|
6 |
@@ -47,38 +47,38 b' var url_base = \'${h.url("files_nodelist_' | |||||
47 |
|
47 | |||
48 | var ypjax_links = function(){ |
|
48 | var ypjax_links = function(){ | |
49 | YUE.on(YUQ('.ypjax-link'), 'click',function(e){ |
|
49 | YUE.on(YUQ('.ypjax-link'), 'click',function(e){ | |
50 |
|
50 | |||
51 | //don't do ypjax on middle click |
|
51 | //don't do ypjax on middle click | |
52 |
if(e.which == 2 || !History.enabled){ |
|
52 | if(e.which == 2 || !History.enabled){ | |
53 | return true; |
|
53 | return true; | |
54 | } |
|
54 | } | |
55 |
|
55 | |||
56 | var el = e.currentTarget; |
|
56 | var el = e.currentTarget; | |
57 | var url = el.href; |
|
57 | var url = el.href; | |
58 |
|
58 | |||
59 | var _base_url = '${h.url("files_home",repo_name=c.repo_name,revision='',f_path='')}'; |
|
59 | var _base_url = '${h.url("files_home",repo_name=c.repo_name,revision='',f_path='')}'; | |
60 | _base_url = _base_url.replace('//','/') |
|
60 | _base_url = _base_url.replace('//','/') | |
61 |
|
61 | |||
62 | //extract rev and the f_path from url. |
|
62 | //extract rev and the f_path from url. | |
63 | parts = url.split(_base_url) |
|
63 | parts = url.split(_base_url) | |
64 | if(parts.length != 2){ |
|
64 | if(parts.length != 2){ | |
65 | return false; |
|
65 | return false; | |
66 | } |
|
66 | } | |
67 |
|
67 | |||
68 | var parts2 = parts[1].split('/'); |
|
68 | var parts2 = parts[1].split('/'); | |
69 | var rev = parts2.shift(); // pop the first element which is the revision |
|
69 | var rev = parts2.shift(); // pop the first element which is the revision | |
70 | var f_path = parts2.join('/'); |
|
70 | var f_path = parts2.join('/'); | |
71 |
|
71 | |||
72 | var title = "${_('%s files') % c.repo_name}" + " - " + f_path; |
|
72 | var title = "${_('%s files') % c.repo_name}" + " - " + f_path; | |
73 |
|
73 | |||
74 | var _node_list_url = node_list_url.replace('__REV__',rev); |
|
74 | var _node_list_url = node_list_url.replace('__REV__',rev); | |
75 | var _url_base = url_base.replace('__REV__',rev).replace('__FPATH__', f_path); |
|
75 | var _url_base = url_base.replace('__REV__',rev).replace('__FPATH__', f_path); | |
76 |
|
76 | |||
77 | // Change our States and save some data for handling events |
|
77 | // Change our States and save some data for handling events | |
78 | var data = {url:url,title:title, url_base:_url_base, |
|
78 | var data = {url:url,title:title, url_base:_url_base, | |
79 | node_list_url:_node_list_url}; |
|
79 | node_list_url:_node_list_url}; | |
80 |
History.pushState(data, title, url); |
|
80 | History.pushState(data, title, url); | |
81 |
|
81 | |||
82 | //now we're sure that we can do ypjax things |
|
82 | //now we're sure that we can do ypjax things | |
83 | YUE.preventDefault(e) |
|
83 | YUE.preventDefault(e) | |
84 | return false; |
|
84 | return false; | |
@@ -92,10 +92,10 b' var callbacks = function(State){' | |||||
92 | // Inform Google Analytics of the change |
|
92 | // Inform Google Analytics of the change | |
93 | if ( typeof window.pageTracker !== 'undefined' ) { |
|
93 | if ( typeof window.pageTracker !== 'undefined' ) { | |
94 | window.pageTracker._trackPageview(State.url); |
|
94 | window.pageTracker._trackPageview(State.url); | |
95 |
} |
|
95 | } | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 |
YUE.onDOMReady(function(){ |
|
98 | YUE.onDOMReady(function(){ | |
99 | ypjax_links(); |
|
99 | ypjax_links(); | |
100 | var container = 'files_data'; |
|
100 | var container = 'files_data'; | |
101 | //Bind to StateChange Event |
|
101 | //Bind to StateChange Event | |
@@ -124,8 +124,8 b' YUE.onDOMReady(function(){' | |||||
124 | } |
|
124 | } | |
125 | }); |
|
125 | }); | |
126 | } |
|
126 | } | |
127 |
}); |
|
127 | }); | |
128 |
|
128 | |||
129 | // init the search filter |
|
129 | // init the search filter | |
130 | var _State = { |
|
130 | var _State = { | |
131 | url: "${h.url.current()}", |
|
131 | url: "${h.url.current()}", |
@@ -9,7 +9,7 b'' | |||||
9 | <%include file='files_browser.html'/> |
|
9 | <%include file='files_browser.html'/> | |
10 | %else: |
|
10 | %else: | |
11 | <%include file='files_source.html'/> |
|
11 | <%include file='files_source.html'/> | |
12 |
%endif |
|
12 | %endif | |
13 | %else: |
|
13 | %else: | |
14 | <h2> |
|
14 | <h2> | |
15 | <a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> |
|
15 | <a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> |
@@ -23,7 +23,7 b'' | |||||
23 | <div style="padding:10px; font-size:22px;width:100%;text-align: center; color:#88D882">${_('Closed %s') % (h.age(c.pull_request.updated_on))} ${_('with status %s') % h.changeset_status_lbl(c.current_changeset_status)}</div> |
|
23 | <div style="padding:10px; font-size:22px;width:100%;text-align: center; color:#88D882">${_('Closed %s') % (h.age(c.pull_request.updated_on))} ${_('with status %s') % h.changeset_status_lbl(c.current_changeset_status)}</div> | |
24 | %endif |
|
24 | %endif | |
25 | <h3>${_('Title')}: ${c.pull_request.title}</h3> |
|
25 | <h3>${_('Title')}: ${c.pull_request.title}</h3> | |
26 |
|
26 | |||
27 | <div class="form"> |
|
27 | <div class="form"> | |
28 | <div id="summary" class="fields"> |
|
28 | <div id="summary" class="fields"> | |
29 | <div class="field"> |
|
29 | <div class="field"> | |
@@ -46,9 +46,9 b'' | |||||
46 | <div class="input"> |
|
46 | <div class="input"> | |
47 | <div class="tooltip" title="${h.tooltip(','.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div> |
|
47 | <div class="tooltip" title="${h.tooltip(','.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div> | |
48 | </div> |
|
48 | </div> | |
49 |
</div> |
|
49 | </div> | |
50 | </div> |
|
50 | </div> | |
51 |
</div> |
|
51 | </div> | |
52 | <div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div> |
|
52 | <div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div> | |
53 | <div style="padding:4px 4px 10px 20px"> |
|
53 | <div style="padding:4px 4px 10px 20px"> | |
54 | <div>${_('Created on')}: ${h.fmt_date(c.pull_request.created_on)}</div> |
|
54 | <div>${_('Created on')}: ${h.fmt_date(c.pull_request.created_on)}</div> |
@@ -108,7 +108,7 b'' | |||||
108 | <div class="input ${summary(c.show_stats)} desc">${h.urlify_text(h.desc_stylize(c.dbrepo.description))}</div> |
|
108 | <div class="input ${summary(c.show_stats)} desc">${h.urlify_text(h.desc_stylize(c.dbrepo.description))}</div> | |
109 | %else: |
|
109 | %else: | |
110 | <div class="input ${summary(c.show_stats)} desc">${h.urlify_text(c.dbrepo.description)}</div> |
|
110 | <div class="input ${summary(c.show_stats)} desc">${h.urlify_text(c.dbrepo.description)}</div> | |
111 |
%endif |
|
111 | %endif | |
112 | </div> |
|
112 | </div> | |
113 |
|
113 | |||
114 | <div class="field"> |
|
114 | <div class="field"> |
General Comments 0
You need to be logged in to leave comments.
Login now