UX: Add a description for scores

This commit is contained in:
Robin Ward 2019-04-15 14:21:13 -04:00
parent 4b74525446
commit d859e1594e
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<div class='reviewable-item {{customClass}}' data-reviewable-id={{reviewable.id}}> <div class='reviewable-item {{customClass}}' data-reviewable-id={{reviewable.id}}>
<div class='reviewable-meta-data'> <div class='reviewable-meta-data'>
<span class='reviewable-type'>{{reviewable.humanType}}</span> <span class='reviewable-type'>{{reviewable.humanType}}</span>
<span class='badge-notification new-posts score' title={{i18n "review.scores.score"}}>{{format-score reviewable.score}}</span> <span class='badge-notification new-posts score' title={{i18n "review.scores.about"}}>{{format-score reviewable.score}}</span>
{{#if reviewable.reply_count}} {{#if reviewable.reply_count}}
<span class='reply-count'>{{i18n "review.replies" count=reviewable.reply_count}}</span> <span class='reply-count'>{{i18n "review.replies" count=reviewable.reply_count}}</span>
{{/if}} {{/if}}

View File

@ -12,7 +12,7 @@
<td> <td>
{{d-icon rs.score_type.icon}} {{d-icon rs.score_type.icon}}
{{title}} {{title}}
<span class="badge-notification new-posts score">{{format-score rs.score}}</span> <span class="badge-notification new-posts score" title={{i18n "review.scores.about"}}>{{format-score rs.score}}</span>
</td> </td>
<td> <td>
{{format-date rs.created_at format="tiny"}} {{format-date rs.created_at format="tiny"}}

View File

@ -431,6 +431,7 @@ en:
conversation: conversation:
view_full: "view full conversation" view_full: "view full conversation"
scores: scores:
about: "This score is calculated based on the trust level of the reporter, the accuracy of their previous flags, and the priority of the item being reported."
score: "Score" score: "Score"
date: "Date" date: "Date"
type: "Type" type: "Type"