Mercurial > kallithea
annotate rhodecode/templates/pullrequests/pullrequest_data.html @ 4053:3625fd19b201
pull requests: add a 'Calculated' comment on current_changeset_status
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 12 Jun 2013 02:13:05 +0200 |
parents | 73ef2a5d3042 |
children |
rev | line source |
---|---|
3676
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 % for pr in c.pullrequests_pager: |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <div class="pr ${'pr-closed' if pr.is_closed() else ''}"> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 <div class="pr-title"> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" /> |
4024
73ef2a5d3042
pull requests: make it possible control display of closed PRs and whether it is PRs to or from repo
Mads Kiilerich <madski@unity3d.com>
parents:
4023
diff
changeset
|
7 <a href="${h.url('pullrequest_show',repo_name=pr.other_repo.repo_name,pull_request_id=pr.pull_request_id)}"> |
3676
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 </a> |
3742
7d988c308533
move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
Marcin Kuzminski <marcin@python-works.com>
parents:
3734
diff
changeset
|
10 %if pr.is_closed(): |
7d988c308533
move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
Marcin Kuzminski <marcin@python-works.com>
parents:
3734
diff
changeset
|
11 <span class="pr-closed-tag">${_('Closed')}</span> |
7d988c308533
move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
Marcin Kuzminski <marcin@python-works.com>
parents:
3734
diff
changeset
|
12 %endif |
3676
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 </div> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5> |
4023
e29b927d4de4
pullrequest: indent PR descriptions in overview
Mads Kiilerich <madski@unity3d.com>
parents:
3742
diff
changeset
|
15 <div class="pr-desc">${pr.description}</div> |
3676
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 </div> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 % endfor |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 |
3732
8f3f4b2e3df8
killed some alien JS code that got into pullrequest_data template
Marcin Kuzminski <marcin@python-works.com>
parents:
3677
diff
changeset
|
19 |
3677
3c79c197e95d
small ui fixes for pr page
Marcin Kuzminski <marcin@python-works.com>
parents:
3676
diff
changeset
|
20 <div class="notification-paginator"> |
3c79c197e95d
small ui fixes for pr page
Marcin Kuzminski <marcin@python-works.com>
parents:
3676
diff
changeset
|
21 <div class="pagination-wh pagination-left"> |
3c79c197e95d
small ui fixes for pr page
Marcin Kuzminski <marcin@python-works.com>
parents:
3676
diff
changeset
|
22 ${c.pullrequests_pager.pager('$link_previous ~2~ $link_next')} |
3c79c197e95d
small ui fixes for pr page
Marcin Kuzminski <marcin@python-works.com>
parents:
3676
diff
changeset
|
23 </div> |
3734
a8f520540ab0
New default permissions definition for user group create
Marcin Kuzminski <marcin@python-works.com>
parents:
3732
diff
changeset
|
24 </div> |