Mercurial > kallithea
changeset 3259:99cb0cf75a4c beta
some formatting on list of pull-requests
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 29 Jan 2013 22:49:04 +0100 |
parents | 6f71e6f81c9f |
children | dadfcd30589f |
files | rhodecode/templates/pullrequests/pullrequest_show_all.html |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_show_all.html Tue Jan 29 22:41:05 2013 +0100 +++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html Tue Jan 29 22:49:04 2013 +0100 @@ -22,16 +22,17 @@ %for pr in c.pull_requests: <div> - <h4> - %if pr.is_closed(): - <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> - %endif - <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> - ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} - </a> + <h4 style="border:0px;padding:0px"> + %if pr.is_closed(): + <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> + %endif + <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> + ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} + </a> </h4> <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5> <div style="padding:0px 24px">${pr.description}</div> + <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div> </div> %endfor