-
Notifications
You must be signed in to change notification settings - Fork 4
Update and delete previous mammogram #849
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
Conversation
228907e to
5eb448c
Compare
5eb448c to
45b7544
Compare
| {% if delete_link %} | ||
| <p class="nhsuk-u-margin-top-4"> | ||
| <a href="{{ delete_link.href }}" class="{{ delete_link.class }}"> | ||
| {{ delete_link.text }} | ||
| </a> | ||
| </p> | ||
| {% endif %} |
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.
Should we stick this link inside the button group? @edwardhorsford
https://nhsuk.github.io/nhsuk-frontend/examples/button-group/
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.
I think / reckon not.
I see button group as mostly being about complimentary choices - continue or perhaps cancel. But delete feels like a distinct action and worthy of being more separated from the continue buttonn.
manage_breast_screening/mammograms/jinja2/mammograms/add_previous_mammogram.jinja
Show resolved
Hide resolved
| {% if mammograms_by_date_added %} | ||
| {% for mammogram in mammograms_by_date_added %} | ||
| <p> | ||
| <a style="float: right" class="nhsuk-link nhsuk-link--no-visited-state" href="{{ mammogram.change_link.href}}"> |
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.
Is the inline style="float: right" from the prototype @edwardhorsford?
Do we need to set up some styles for this so it works nicely at all sizes?
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.
It might have been me who introduced it. On the record medical info page I'm expecting it to go away when we switch to the new card component, but not sure about this one.
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.
This now uses a summary list so I expect this'll probably go away soon?
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.
I guess we can leave it for now then. Do you know if we've got a ticket for that @edwardhorsford?
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.
I'm not involved in writing dev tickets, but there's a design ticket in the 'ready for tech review' column so presumably @gpeng will pick up at some point?
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.
Cool that's good enough for me, just wanted to make sure we don't forget about it
45b7544 to
6cb0ab3
Compare
| ) | ||
|
|
||
|
|
||
| @pytest.fixture |
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.
Might be worth moving this fixture into a shared conftest.py under mammograms if there isn't one already. I think we define it in a lot of places and it's not really specific to the tests its used in
Added change links to participant details and medical information
6cb0ab3 to
d161907
Compare
|




Added change links to participant details and medical information
Description
Jira link
https://nhsd-jira.digital.nhs.uk/browse/DTOSS-11816
Review notes
Review checklist