-
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-5823-cta-notes-additional-docs #2327
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
<h1 class="govuk-heading-l">{% block title %}{% lcs 'AdditionalDocuments.TITLE'%}{% endblock %}</h1> | ||
</div> | ||
<div class="lite-app-bar__controls"> | ||
<a href="{% url 'applications:attach_additional_document' application_id %}" class="govuk-button" draggable="false" role="button"> | ||
<a href="{% url 'applications:attach_additional_document' application_id %}" class="govuk-button govuk-button--secondary" draggable="false" role="button"> | ||
{% lcs 'AdditionalDocuments.ADD' %} | ||
</a> | ||
</div> | ||
|
@@ -65,5 +65,9 @@ <h1 class="govuk-heading-l">{% block title %}{% lcs 'AdditionalDocuments.TITLE'% | |
{% lcs 'AdditionalDocuments.NO_RESULTS' %} | ||
</p> | ||
</div> | ||
<div class="lite-information-text__help"></div> | ||
{% endif %} | ||
<a class="govuk-button govuk-button--primary" href="{% url 'applications:task_list' application_id %}"> | ||
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. The content here is "save and continue" but it appears to be taking the user back to their task list. Has this already been saved at this point..? 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 did wonder about this point as well, i'll put a note on the ticket and ask what the expectation is 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. Concluded looks like UCD want to keep as "save and continue" 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. Nice one. Thanks for confirming that |
||
Save and continue | ||
</a> | ||
{% endblock %} |
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.
the spacing doesn't look right when there are no additional documents added. I had a similar problem in #2320 which I fixed by making an element appear with the css class
lite-information-text__help
as that has the margin bottom set which gives the right spacing for the button.locally because I've got this branch pulled down I just tried adding an empty div
<div class="lite-information-text__help"></div>
right below the div withlite-information-text
on but this is a bit hacky and you might be able to think of a more elegant way to do this.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.
fixed