Mercurial > kallithea
annotate rhodecode/templates/pullrequests/pullrequest_data.html @ 3782:c7c4855517c4 beta
summary: don't link from 'Fork of' text - only repo name should link
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 10 Apr 2013 03:00:38 +0200 |
parents | 7d988c308533 |
children | e29b927d4de4 |
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))}" /> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> |
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> |
9d2db665ef31
pagination in pull-requests page + UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <div>${pr.description}</div> |
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> |