diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css
--- a/kallithea/public/css/style.css
+++ b/kallithea/public/css/style.css
@@ -4746,7 +4746,7 @@ PULL REQUESTS
}
div.pr-details-title.closed,
-#pullrequests_container li.closed a
+#pullrequests_container li.closed div div
{
color: #555;
background: #eee;
@@ -4761,9 +4761,8 @@ div.pr-details-title {
}
div.pr {
- border-bottom: 1px solid #DDD;
margin: 0px 20px;
- padding: 10px 4px;
+ padding: 4px 4px;
}
div.pr-desc {
margin: 0px 20px;
diff --git a/kallithea/templates/pullrequests/pullrequest_data.html b/kallithea/templates/pullrequests/pullrequest_data.html
--- a/kallithea/templates/pullrequests/pullrequest_data.html
+++ b/kallithea/templates/pullrequests/pullrequest_data.html
@@ -9,14 +9,17 @@
%endif
- ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
-
+ ${pr.title or _("(no title)")}
%if pr.is_closed():
${_('Closed')}
%endif
+
+ ${_('opened on %s from') % (h.fmt_date(pr.created_on))}
+ <% org_ref_name=pr.org_ref.rsplit(':', 2)[-2] %>
+
+ ${pr.org_repo.repo_name}#${org_ref_name}
+
-
${_('Title')}: ${pr.title}
- ${pr.description}
% endfor
diff --git a/kallithea/templates/pullrequests/pullrequest_show_my_data.html b/kallithea/templates/pullrequests/pullrequest_show_my_data.html
--- a/kallithea/templates/pullrequests/pullrequest_show_my_data.html
+++ b/kallithea/templates/pullrequests/pullrequest_show_my_data.html
@@ -1,12 +1,8 @@
-%if c.show_closed:
- ${h.checkbox('show_closed',checked="checked", label=_('Show closed pull requests'))}
-%else:
- ${h.checkbox('show_closed',label=_('Show closed pull requests'))}
-%endif
+${h.checkbox('show_closed',checked="checked" if c.show_closed else "", label=_('Show closed pull requests too'))}
${_('Opened by me')}
- %if c.my_pull_requests:
- %for pull_request in c.my_pull_requests:
+ %if c.my_pull_requests:
+ %for pull_request in c.my_pull_requests:
-
${h.form(url('pullrequest_delete', repo_name=pull_request.other_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')}
@@ -29,33 +30,41 @@
- %endfor
- %else:
+ %endfor
+ %else:
- ${_('Nothing here yet')}
- %endif
+ %endif
${_('I participate in')}
- %if c.participate_in_pull_requests:
- %for pull_request in c.participate_in_pull_requests:
+ %if c.participate_in_pull_requests:
+ %for pull_request in c.participate_in_pull_requests:
-
- %endfor
- %else:
- - ${_('Nothing here yet')}
- %endif
+ %endfor
+ %else:
+ - ${_('Nothing here yet')}
+ %endif