Mercurial > kallithea
annotate rhodecode/templates/pullrequests/pullrequest_show_all.html @ 2673:d5e42c00f3c1 beta
white space cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 27 Jul 2012 01:06:50 +0200 |
parents | 58c529332e7e |
children | 99cb0cf75a4c |
rev | line source |
---|---|
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 <%inherit file="/base/base.html"/> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 <%def name="title()"> |
2608
58c529332e7e
Added option to close pull requests, in future that will be close & merge
Marcin Kuzminski <marcin@python-works.com>
parents:
2586
diff
changeset
|
4 ${c.repo_name} ${_('all pull requests')} |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 </%def> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 <%def name="breadcrumbs_links()"> |
2492
79818f546538
i18n 'Home' in breadcrumbs
Takumi IINO <trot.thunder@gmail.com>
parents:
2478
diff
changeset
|
8 ${h.link_to(_(u'Home'),h.url('/'))} |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 » |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))} |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 » |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 ${_('All pull requests')} |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 </%def> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <%def name="main()"> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 <div class="box"> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 <!-- box / title --> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <div class="title"> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 ${self.breadcrumbs()} |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 </div> |
2478
8eab81115660
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2440
diff
changeset
|
22 |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 %for pr in c.pull_requests: |
2586
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
24 <div> |
2608
58c529332e7e
Added option to close pull requests, in future that will be close & merge
Marcin Kuzminski <marcin@python-works.com>
parents:
2586
diff
changeset
|
25 <h4> |
58c529332e7e
Added option to close pull requests, in future that will be close & merge
Marcin Kuzminski <marcin@python-works.com>
parents:
2586
diff
changeset
|
26 %if pr.is_closed(): |
58c529332e7e
Added option to close pull requests, in future that will be close & merge
Marcin Kuzminski <marcin@python-works.com>
parents:
2586
diff
changeset
|
27 <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2608
diff
changeset
|
28 %endif |
2608
58c529332e7e
Added option to close pull requests, in future that will be close & merge
Marcin Kuzminski <marcin@python-works.com>
parents:
2586
diff
changeset
|
29 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> |
2586
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
30 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
31 </a> |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
32 </h4> |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
33 <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5> |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
34 <div style="padding:0px 24px">${pr.description}</div> |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
35 </div> |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 %endfor |
2478
8eab81115660
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2440
diff
changeset
|
37 |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 </div> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 <script type="text/javascript"></script> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
41 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 </%def> |