Skip to content

Commit 15bbc40

Browse files
author
Alex Zolotko
committed
Make crate stats look more consistent
1 parent c970817 commit 15bbc40

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/components/crate-row.hbs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,20 @@
1919
<div class='stats'>
2020
<div class='downloads' data-test-downloads>
2121
{{svg-jar "download"}}
22-
<span class='num'>All-Time: {{ format-num this.crate.downloads }}</span>
22+
<span class='num'><abbr title="Total number of downloads">All-Time:</abbr> {{ format-num this.crate.downloads }}</span>
2323
</div>
2424
<div class="recent-downloads" data-test-recent-downloads>
2525
{{svg-jar "download"}}
2626
<span class='num'><abbr title="Downloads in the last 90 days">Recent:</abbr> {{ format-num this.crate.recent_downloads }}</span>
2727
</div>
2828
<div class="updated-at" >
2929
{{svg-jar "latest-updates" height="32" width="32"}}
30-
<time title="Last updated: {{ this.crate.updated_at }}" datetime="{{ moment-format this.crate.updated_at 'YYYY-MM-DDTHH:mm:ssZ' }}" data-test-updated-at>
31-
{{ moment-from-now this.crate.updated_at }}
32-
</time>
30+
<span>
31+
<abbr title="The last time crate was updated">Updated:</abbr>
32+
<time title="Last updated: {{ this.crate.updated_at }}" datetime="{{ moment-format this.crate.updated_at 'YYYY-MM-DDTHH:mm:ssZ' }}" data-test-updated-at>
33+
{{ moment-from-now this.crate.updated_at }}
34+
</time>
35+
</span>
3336
</div>
3437
</div>
3538
<div class="quick-links">

0 commit comments

Comments
 (0)