mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 15:06:15 +01:00
show review comments in an own line. Before they started in the same line, but reached on typical
screens anyway the second line if they had more than a few chars.
This commit is contained in:
parent
f9e54d0488
commit
a031dbd083
@ -2885,7 +2885,9 @@ class Request:
|
|||||||
d['by'] = "Project: " + review.by_project
|
d['by'] = "Project: " + review.by_project
|
||||||
d['when'] = review.when or ''
|
d['when'] = review.when or ''
|
||||||
d['who'] = review.who or ''
|
d['who'] = review.who or ''
|
||||||
d['comment'] = review.comment or ''
|
d['comment'] = ''
|
||||||
|
if review.comment:
|
||||||
|
d['comment'] = '\n ' + review.comment
|
||||||
reviews.append(tmpl % d)
|
reviews.append(tmpl % d)
|
||||||
if reviews:
|
if reviews:
|
||||||
lines.append('\nReview: %s' % indent.join(reviews))
|
lines.append('\nReview: %s' % indent.join(reviews))
|
||||||
|
@ -483,8 +483,10 @@ test.
|
|||||||
State: review 2010-12-27T01:36:29 abc
|
State: review 2010-12-27T01:36:29 abc
|
||||||
Comment: currently in review
|
Comment: currently in review
|
||||||
|
|
||||||
Review: accepted Group: group1 2010-12-29T00:11:22 abc accepted
|
Review: accepted Group: group1 2010-12-29T00:11:22 abc
|
||||||
new Group: group1 2010-12-28T00:11:22 abc review start
|
accepted
|
||||||
|
new Group: group1 2010-12-28T00:11:22 abc
|
||||||
|
review start
|
||||||
|
|
||||||
History: 2010-12-12T00:00:00 creator revoked
|
History: 2010-12-12T00:00:00 creator revoked
|
||||||
2010-12-11T00:00:00 creator new"""
|
2010-12-11T00:00:00 creator new"""
|
||||||
|
Loading…
Reference in New Issue
Block a user