Skip to content
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

MAN-28 - update seconday text for lc note where no user has been reco… #178

Merged

Conversation

achimber-moj
Copy link
Contributor

…rded

@achimber-moj achimber-moj added the enhancement New feature or request label Oct 17, 2024
@achimber-moj achimber-moj requested a review from a team as a code owner October 17, 2024 12:14
Copy link

sonarcloud bot commented Oct 17, 2024

{% if lcNote.createdBy %}
<p class="govuk-body-s secondary-text">Comment added by {{ lcNote.createdBy }} on {{ lcNote.createdByDate | dateWithYear }}</p>
{% else %}
<p class="govuk-body-s secondary-text">Comment added by not entered</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to just hide this text if we don't have the user/date? Might be worth checking with the designers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will check with them. i did set to hide the text, but with some notes with the secondary text and some without, i thought it looked a bit wierd

@achimber-moj achimber-moj merged commit 0651dfe into main Oct 17, 2024
7 checks passed
@achimber-moj achimber-moj deleted the MAN-28-sentence-license-condition-notes-no-created-by branch October 17, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants