-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,4 +19,12 @@ | |
| "text": "Save" | ||
| }) }} | ||
| </div> | ||
|
|
||
| {% 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 %} | ||
|
Comment on lines
+23
to
+29
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we stick this link inside the button group? @edwardhorsford
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| {% endblock %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,6 +39,10 @@ | |
| {% 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}}"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the inline Do we need to set up some styles for this so it works nicely at all sizes?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| {{ mammogram.change_link.text }}<span class="nhsuk-u-visually-hidden">{{ mammogram.change_link.visually_hidden_text }}</span> | ||
| </a> | ||
|
|
||
| <span class="nhsuk-u-font-weight-bold">Added {{ mammogram.date_added }}</span> | ||
| <br>{% if mammogram.date.is_exact %}{{ mammogram.date.absolute }} <span class="nhsuk-u-secondary-text-color">({{ mammogram.date.relative }})</span>{% else %}{{ mammogram.date.value }}{% endif %} | ||
| <br>{{ mammogram.location }} | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.