-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UML-3676 new content about IaP #2961
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2961 +/- ##
============================================
+ Coverage 91.25% 91.91% +0.65%
- Complexity 1504 1779 +275
============================================
Files 309 389 +80
Lines 6393 8233 +1840
============================================
+ Hits 5834 7567 +1733
- Misses 542 649 +107
Partials 17 17
|
</h1> | ||
</div> | ||
|
||
<div class="govuk-grid-column-two-thirds"> | ||
{% if feature_enabled('instructions_and_preferences') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note - removed logic that shows different text if feature is NOT enabled, as it is always enabled now.
This reverts commit 7e189f4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't need to commit this.
{% elseif lpa.applicationHasRestrictions %} | ||
{% trans %}This LPA has instructions{% endtrans %} | ||
{% trans %}This LPA has instructions (sometimes known as “restrictions and conditions”){% endtrans %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is what Sarah wants, with reason, even if it looks slightly odd
Co-authored-by: Adam Cooper <[email protected]>
Purpose
Swap instructions and preferences around to preferences and instructions in many places, add content about it also being called "restrictions and conditions"
4 tickets : UML-3676, UML-3678, UML-3688, UML-3420
Approach
A number of mods to twig files and translation files. Note a couple of places I have removed code behind a no longer needed feature flag.
Checklist