annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2624
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <div class="pullrequests_section_head">${_('Opened by me')}</div>
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 <ul>
2722
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
4 %if c.my_pull_requests:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
5 %for pull_request in c.my_pull_requests:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
6 <li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
7 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
8 ${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.fmt_date(pull_request.created_on))}
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
9 </a>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
10 </li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
11 %endfor
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
12 %else:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
13 <li><span class="empty_data">${_('Nothing here yet')}</span></li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
14 %endif
2624
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 </ul>
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 <div class="pullrequests_section_head">${_('I participate in')}</div>
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 <ul>
2722
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
19 %if c.my_pull_requests:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
20 %for pull_request in c.participate_in_pull_requests:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
21 <li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
22 <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
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))}
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
24 </a>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
25 </li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
26 %endfor
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
27 %else:
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
28 <li><span class="empty_data">${_('Nothing here yet')}</span></li>
ef7520340c44 fixed missing div on my_account + added nothing here yet when there are no
Marcin Kuzminski <marcin@python-works.com>
parents: 2667
diff changeset
29 %endif
2624
19daa8d761dc Improvements to my account page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 </ul>