Skip to content

Commit 15f51bd

Browse files
authored
AO3-7140 - Changed view of Assignment to be less confusing BOT (#5747)
* Made the title change when draft * Added test to cover behaviour * Fixed issues with the test * Fixed Linter issues * Normalized locales file * Changed the view to not have a leading space * Adressed translation comments * Fixed locales * Various renaming * Adressed comment and added comment * Removed unneccessary steps in test * Fixed capitalization
1 parent 4a17584 commit 15f51bd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/locales/views/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ en:
682682
fandom: Fandom %{allowed_fandom_count}
683683
challenge_assignments:
684684
assignment_blurb:
685-
header_draft_html: "%{title_link} (draft)"
685+
header_draft_html: "%{title_link} (Draft)"
686686
stats:
687687
creation:
688688
posted: 'Posted:'

features/gift_exchanges/challenge_giftexchange.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,14 @@ Feature: Gift Exchange Challenge
667667
And I set the publication date to 6 December 2012
668668
And I press "Preview"
669669
And I go to the assignments page for "myname1"
670-
Then I should see "(draft)"
670+
Then I should see "(Draft)"
671671
And I should see "Status: Unposted"
672672
And I should see "Created: 2016-04-13"
673673
When I post the work "InProgress"
674674
And I go to the assignments page for "myname1"
675675
And I follow "Completed Assignments"
676676
Then I should see "InProgress"
677-
And I should not see "(draft)"
677+
And I should not see "(Draft)"
678678
And I should see "Status: Complete"
679679
And I should see "Posted: 2012-12-06"
680680

0 commit comments

Comments
 (0)