Commit 8a823402 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Offer an alternative header in case there's no subject for a review reviews don't have a title nowadays.

BUG: 391189
parent 3c18d0dd
......@@ -44,7 +44,8 @@ ColumnLayout
id: content
Layout.fillWidth: true
elide: Text.ElideRight
text: i18n("<b>%1</b> by %2", summary, reviewer ? reviewer : i18n("unknown reviewer"))
readonly property string author: reviewer ? reviewer : i18n("unknown reviewer")
text: summary ? i18n("<b>%1</b> by %2", summary, author) : i18n("Comment by %1", author)
Rating {
id: rating
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment