##// END OF EJS Templates
whitespace cleanup
marcink -
r3216:81bbb808 beta
parent child Browse files
Show More
@@ -53,13 +53,13
53 <td>
53 <td>
54 <a href="${h.url('edit_repos_group',id=gr.group_id)}" title="${_('edit')}">
54 <a href="${h.url('edit_repos_group',id=gr.group_id)}" title="${_('edit')}">
55 ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")}
55 ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")}
56 </a>
56 </a>
57 </td>
57 </td>
58 <td>
58 <td>
59 ${h.form(url('repos_group', id=gr.group_id),method='delete')}
59 ${h.form(url('repos_group', id=gr.group_id),method='delete')}
60 ${h.submit('remove_%s' % gr.name,_('delete'),class_="delete_icon action_button",onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_cn) % (gr.name,gr_cn)+"');")}
60 ${h.submit('remove_%s' % gr.name,_('delete'),class_="delete_icon action_button",onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_cn) % (gr.name,gr_cn)+"');")}
61 ${h.end_form()}
61 ${h.end_form()}
62 </td>
62 </td>
63 </tr>
63 </tr>
64 % endfor
64 % endfor
65
65
@@ -159,7 +159,7
159 </li>
159 </li>
160 </ul>
160 </ul>
161 </li>
161 </li>
162 ## we render this menu only not for those pages
162 ## we render this menu only not for those pages
163 %if current not in ['home','admin', 'search', 'journal']:
163 %if current not in ['home','admin', 'search', 'journal']:
164 ##REGULAR MENU
164 ##REGULAR MENU
165 <li ${is_current('summary')}>
165 <li ${is_current('summary')}>
@@ -342,7 +342,7
342 }
342 }
343 q_filter(target,nodes,func);
343 q_filter(target,nodes,func);
344 }
344 }
345
345
346 var loaded = YUD.hasClass('repo_switcher','loaded');
346 var loaded = YUD.hasClass('repo_switcher','loaded');
347 if(!loaded){
347 if(!loaded){
348 YUD.addClass('repo_switcher','loaded');
348 YUD.addClass('repo_switcher','loaded');
@@ -31,11 +31,11
31 %else:
31 %else:
32 ${_('Comment from pull request %s') % co.pull_request.pull_request_id}
32 ${_('Comment from pull request %s') % co.pull_request.pull_request_id}
33 %endif
33 %endif
34 </a>
34 </a>
35 %endif
35 %endif
36 </span>
36 </span>
37 </div>
37 </div>
38
38
39 %if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id:
39 %if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id:
40 <div class="buttons">
40 <div class="buttons">
41 <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-btn">${_('Delete')}</span>
41 <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-btn">${_('Delete')}</span>
@@ -64,11 +64,11
64 ##%endif
64 ##%endif
65 <span class="spantag">${c.pull_request.org_ref_parts[0]}</span>
65 <span class="spantag">${c.pull_request.org_ref_parts[0]}</span>
66 :
66 :
67 <span class="spantag">${c.pull_request.org_ref_parts[1]}</span>
67 <span class="spantag">${c.pull_request.org_ref_parts[1]}</span>
68 <span><a href="${h.url('summary_home', repo_name=c.pull_request.org_repo.repo_name)}">${c.pull_request.org_repo.clone_url()}</a></span>
68 <span><a href="${h.url('summary_home', repo_name=c.pull_request.org_repo.repo_name)}">${c.pull_request.org_repo.clone_url()}</a></span>
69 </div>
69 </div>
70 </div>
70 </div>
71 </div>
71 </div>
72 </div>
72 </div>
73 </div>
73 </div>
74 <div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div>
74 <div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div>
@@ -591,10 +591,10 class BaseTestApi(object):
591 users_group_data['type'] = "users_group"
591 users_group_data['type'] = "users_group"
592 users_group_data['permission'] = perm
592 users_group_data['permission'] = perm
593 members.append(users_group_data)
593 members.append(users_group_data)
594
594
595 for user in repo.followers:
595 for user in repo.followers:
596 followers.append(user.user.get_api_data())
596 followers.append(user.user.get_api_data())
597
597
598 ret['members'] = members
598 ret['members'] = members
599 ret['followers'] = followers
599 ret['followers'] = followers
600
600
General Comments 0
You need to be logged in to leave comments. Login now