Skip to content

Commit 39ded07

Browse files
authored
Add description to how drafts and registrations are sorted (#1204)
## Purpose - Let users know that registrations and drafts are sorted by date modified ## Summary of Changes - Add a div with explanation to my-registrations page template ## Side Effects - Should be none. ## QA Notes - There should be a little bit of text on the my registrations page that says how drafts and registrations are submitted. The text is the same for both tabs
1 parent 64f1c7e commit 39ded07

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

lib/registries/addon/my-registrations/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,9 @@
5252
}
5353
}
5454
}
55+
56+
.SortDescription {
57+
text-align: right;
58+
margin-top: 10px;
59+
margin-right: 15px;
60+
}

lib/registries/addon/my-registrations/template.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
@activeId={{this.tab}}
2020
as |tab|
2121
>
22+
<div local-class='SortDescription'>
23+
{{t 'registries.my_registrations.sorted'}}
24+
</div>
2225
<tab.pane
2326
local-class='Tab'
2427
@title={{t 'registries.my_registrations.drafts'}}

translations/en-us.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,7 @@ registries:
11381138
header: 'My Registrations'
11391139
drafts: 'Drafts'
11401140
submitted: 'Submitted'
1141+
sorted: 'Sorted by last updated'
11411142
registration_metadata:
11421143
add_description: 'Add description'
11431144
add_contributors:

0 commit comments

Comments
 (0)