Changeset View
Changeset View
Standalone View
Standalone View
src/qtquick/qml/EntryDetails.qml
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Line(s) | 169 | Kirigami.Heading { | |||
---|---|---|---|---|---|
170 | id: shortSummaryItem | 170 | id: shortSummaryItem | ||
171 | QtLayouts.Layout.fillWidth: true | 171 | QtLayouts.Layout.fillWidth: true | ||
172 | } | 172 | } | ||
173 | Kirigami.FormLayout { | 173 | Kirigami.FormLayout { | ||
174 | QtLayouts.Layout.fillWidth: true | 174 | QtLayouts.Layout.fillWidth: true | ||
175 | Kirigami.LinkButton { | 175 | Kirigami.LinkButton { | ||
176 | Kirigami.FormData.label: i18n("Comments and Reviews:") | 176 | Kirigami.FormData.label: i18n("Comments and Reviews:") | ||
177 | enabled: component.commentsCount > 0 | 177 | enabled: component.commentsCount > 0 | ||
178 | text: i18nc("A link which, when clicked, opens a new sub page with reviews (comments) for this entry", "%1 Reviews").arg(component.commentsCount) | 178 | text: i18nc("A link which, when clicked, opens a new sub page with comments (comments with or without ratings) for this entry", "%1 Reviews and Comments").arg(component.commentsCount) | ||
179 | onClicked: pageStack.push(commentsPage) | 179 | onClicked: pageStack.push(commentsPage) | ||
180 | } | 180 | } | ||
181 | Private.Rating { | 181 | Private.Rating { | ||
182 | id: ratingsItem | 182 | id: ratingsItem | ||
183 | Kirigami.FormData.label: i18n("Rating:") | 183 | Kirigami.FormData.label: i18n("Rating:") | ||
184 | rating: Math.floor(component.rating / 10) | 184 | rating: Math.floor(component.rating / 10) | ||
185 | } | 185 | } | ||
186 | Kirigami.LinkButton { | 186 | Kirigami.LinkButton { | ||
Show All 29 Lines |