Mercurial > kallithea
annotate rhodecode/templates/pullrequests/pullrequest_show_all.html @ 3608:87b0a652b6b1 beta
comments: "Comment on pull request" feels more natural
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 25 Mar 2013 16:30:40 +0100 |
parents | 1f334a68d057 |
children | 2ea981f9da79 |
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()"> |
3582
1f334a68d057
improved title consistency
Marcin Kuzminski <marcin@python-works.com>
parents:
3580
diff
changeset
|
4 ${_('%s Pull Requests') % c.repo_name} · ${c.rhodecode_name} |
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()"> |
3532 | 8 ${_('Pull requests')} |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 </%def> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 <%def name="main()"> |
3527
87c97fcea029
Adding the context bar too all pages related to a Repository.
Leonardo <leo@unity3d.com>
parents:
3392
diff
changeset
|
12 ${self.context_bar('showpullrequest')} |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 <div class="box"> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <!-- box / title --> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <div class="title"> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 ${self.breadcrumbs()} |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 </div> |
2478
8eab81115660
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2440
diff
changeset
|
18 |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 %for pr in c.pull_requests: |
2586
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
20 <div> |
3259
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
21 <h4 style="border:0px;padding:0px"> |
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
22 %if pr.is_closed(): |
3263
1095b67f8054
show status of pull requests and if it's closed
Marcin Kuzminski <marcin@python-works.com>
parents:
3259
diff
changeset
|
23 <img src="${h.url('/images/icons/lock_go.png')}" title="${_('Closed')}"/> |
3259
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
24 %endif |
3263
1095b67f8054
show status of pull requests and if it's closed
Marcin Kuzminski <marcin@python-works.com>
parents:
3259
diff
changeset
|
25 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" /> |
3259
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
26 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> |
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
27 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} |
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
28 </a> |
2586
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
29 </h4> |
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
30 <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
|
31 <div style="padding:0px 24px">${pr.description}</div> |
3259
99cb0cf75a4c
some formatting on list of pull-requests
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
32 <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div> |
2586
a5e32ed7f790
little love for pull-requests list
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
33 </div> |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 %endfor |
2478
8eab81115660
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2440
diff
changeset
|
35 |
2440
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 </div> |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 |
1bc579bcd67a
- pull request generates overview based on it's params
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 </%def> |