-
Notifications
You must be signed in to change notification settings - Fork 1
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
LTD-5573-make-makedown-safe-remove #2219
base: dev
Are you sure you want to change the base?
Conversation
7315a8e
to
7639562
Compare
@@ -13,4 +13,6 @@ def back_to_task_list(application_id): | |||
|
|||
def footer_label(application_id): | |||
url = reverse("applications:task_list", kwargs={"pk": str(application_id)}) | |||
return Label(f'Or <a class="govuk-link" href="{url}">return to application overview</a>') | |||
return Label( | |||
f'Or <a class="govuk-link govuk-link--no-visited-state" rel="noreferrer noopener" target="_blank" href="{url}">return to application overview</a>' |
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.
Just interested, but what is this change achieving?
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.
lite-frontend/lite_forms/components.py
Line 175 in c577a90
self.footer_label = footer_label |
Looks like it's used to add a link to the footer.
Yes I could add it to the template and be done with. But I question how far do I go with this PR. For now the aim is to just ensure we can remove the markdown method and make it clearer where it was used and replace the constants along the way.
DESCRIPTION = "You may know this as an 'end use control'." | ||
DESCRIPTION = "Give the application a reference name so you can refer back to it when needed." |
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 doesn't seem right
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.
not sure how that got changed looks like copied from above revered back.
7639562
to
2e76b97
Compare
@@ -155,20 +154,6 @@ def heading_used_as_label(components): | |||
return single_input | |||
|
|||
|
|||
def convert_to_markdown(text): |
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.
🙌
2e76b97
to
2da3fc8
Compare
2da3fc8
to
e5d58be
Compare
https://uktrade.atlassian.net/browse/LTD-5573
First part here is to just remove the filter_tag