Mercurial > kallithea
comparison rhodecode/templates/admin/users/user_edit_my_account_pullrequests.html @ 2722:ef7520340c44 beta
fixed missing div on my_account + added nothing here yet when there are no
pull requests for user
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 20 Aug 2012 18:10:23 +0200 |
parents | 129beb0062c2 |
children | 49a4864b11c1 |
comparison
equal
deleted
inserted
replaced
2721:36915dd4544d | 2722:ef7520340c44 |
---|---|
1 | 1 |
2 <div class="pullrequests_section_head">${_('Opened by me')}</div> | 2 <div class="pullrequests_section_head">${_('Opened by me')}</div> |
3 <ul> | 3 <ul> |
4 %for pull_request in c.my_pull_requests: | 4 %if c.my_pull_requests: |
5 <li> | 5 %for pull_request in c.my_pull_requests: |
6 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}"> | 6 <li> |
7 ${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.fmt_date(pull_request.created_on))} | 7 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}"> |
8 </a> | 8 ${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.fmt_date(pull_request.created_on))} |
9 </li> | 9 </a> |
10 %endfor | 10 </li> |
11 %endfor | |
12 %else: | |
13 <li><span class="empty_data">${_('Nothing here yet')}</span></li> | |
14 %endif | |
11 </ul> | 15 </ul> |
12 | 16 |
13 <div class="pullrequests_section_head">${_('I participate in')}</div> | 17 <div class="pullrequests_section_head">${_('I participate in')}</div> |
14 <ul> | 18 <ul> |
15 %for pull_request in c.participate_in_pull_requests: | 19 %if c.my_pull_requests: |
16 <li> | 20 %for pull_request in c.participate_in_pull_requests: |
17 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}"> | 21 <li> |
18 ${_('Pull request #%s opened by %s on %s') % (pull_request.pull_request_id, pull_request.author.full_name, h.fmt_date(pull_request.created_on))} | 22 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}"> |
19 </a> | 23 ${_('Pull request #%s opened by %s on %s') % (pull_request.pull_request_id, pull_request.author.full_name, h.fmt_date(pull_request.created_on))} |
20 </li> | 24 </a> |
21 %endfor | 25 </li> |
26 %endfor | |
27 %else: | |
28 <li><span class="empty_data">${_('Nothing here yet')}</span></li> | |
29 %endif | |
22 </ul> | 30 </ul> |