-
Notifications
You must be signed in to change notification settings - Fork 350
Accessible links #11369
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
base: develop
Are you sure you want to change the base?
Accessible links #11369
Conversation
Signed-off-by: Josh Soref <[email protected]>
| raise HTTPError(http_status.HTTP_403_FORBIDDEN, data={ | ||
| 'message_long': 'Your Gitlab token is deleted or invalid you may disconnect your Gitlab account and ' | ||
| 'reconnect with a valid token <a href="/settings/addons/">here</a>.' | ||
| 'message_long': 'Your GitLab token is deleted or invalid you may <a href="/settings/addons/">disconnect ' |
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.
branding fix: https://about.gitlab.com/company/
| To approve this requst: <a href="${approval_link}">Click here</a>.<br> | ||
| To cancel this request: <a href="${disapproval_link}">Click here</a> | ||
| You can <a href="${approval_link}">approve this request</a>.<br> | ||
| Or you can <a href="${disapproval_link}">cancel this request</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.
Includes typo fix
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
…ch field Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
…n form Signed-off-by: Josh Soref <[email protected]>
faafb82 to
7b055ea
Compare
| <li>Upload supplemental, materials, data, and code to the OSF project associated with your ${document_type}. | ||
| <a href="https://help.osf.io/article/177-upload-a-preprint" target="_blank">Learn how</a></li> | ||
| <li>Preregister your next study. <a href="https://help.osf.io/345-create-registrations">Read more</a></li> | ||
| <li>Preregister your next study. See <a href="https://help.osf.io/345-create-registrations">Create a Registration</a></li> |
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.
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.
Thank you so much for going through and updating these! I've left a couple suggestions for potential readability improvements, and if you could remove the unneeded aria-label in gitlab/models.py, that would be much appreciated!
website/templates/emails/node_request_institutional_access_request.html.mako
Outdated
Show resolved
Hide resolved
fd5fae4 to
1f7e812
Compare
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.
Apologies for missing this the first time around. Just a couple of minor updates I noticed, but otherwise, should be all good!
website/templates/emails/node_request_institutional_access_request.html.mako
Outdated
Show resolved
Hide resolved
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
1f7e812 to
eabab52
Compare
| <a href="${requester.absolute_url}">${requester.fullname}</a> has requested access to your ${node.project_or_component} "<a href="${node.absolute_url}">${node.title}</a>."<br> | ||
| <br> | ||
| To review the request, click <a href="${contributors_url}">here</a> to allow or deny access and configure permissions.<br> | ||
| <a href="${contributors_url}">Review the request</a> to allow or deny access and configure permissions.<br> |
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.
Here's one instance of dropping To
| % endif | ||
| <p> | ||
| To review the request, click <a href="${node.absolute_url}contributors/">here</a> to allow or deny access and configure permissions. | ||
| <a href="${node.absolute_url}contributors/">Review the request</a> to allow or deny access and configure permissions. |
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.
Here's the other instance of dropping To
| <li>Upload supplemental, materials, data, and code to the OSF project associated with your ${document_type}. | ||
| <a href="https://help.osf.io/article/177-upload-a-preprint" target="_blank">Learn how</a></li> | ||
| <li>Preregister your next study. <a href="https://help.osf.io/345-create-registrations">Read more</a></li> | ||
| Learn how to <a href="https://help.osf.io/article/177-upload-a-preprint" target="_blank">upload a preprint</a>.</li> |
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.
Similarly, this Learn how also deserves a fix.
| <a href="https://help.osf.io/article/177-upload-a-preprint" target="_blank">Learn how</a></li> | ||
| <li>Preregister your next study. <a href="https://help.osf.io/345-create-registrations">Read more</a></li> | ||
| Learn how to <a href="https://help.osf.io/article/177-upload-a-preprint" target="_blank">upload a preprint</a>.</li> | ||
| <li>Preregister your next study. Learn how to <a href="https://help.osf.io/345-create-registrations">create a registration</a>.</li> |
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 adding .s because these now feel very much like sentences as opposed to random words.
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.
Thank you so much for these updates! I'll leave an approval here, but will hold off on merging this, as I want to run this past a couple people on our end.
| Your submission ${reviewable.title}, submitted to ${reviewable.provider.name}, | ||
| has not been accepted. Your registration was returned as a draft so you can make the appropriate edits for resubmission. | ||
| <a href=${draft_registration.absolute_url}>Click here</a> to view your draft. | ||
| <a href=${draft_registration.absolute_url}>View your draft</a>. | ||
| % else: | ||
| Your submission <a href="${reviewable.absolute_url}">${reviewable.title}</a>, submitted to ${reviewable.provider.name}, has been accepted by the moderator. |
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.
There seems to be some areas where the $ sign has been removed for the template variables. Could you add those back in?
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.
Are you sure? I think the $ is just being highlighted being the syntax highlighter doesn't think it's valid html (I don't think it understands .mako
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.
Oh, yes, you're right! That makes more sense. Sorry for the confusion!
| <li>Submit your preprint to an APA-published journal. Learn about <a href="https://help.osf.io/article/376-preprints-home-page#Submitting-to-a-Moderated-Preprint-Service-nueKG">Submitting to a Moderated Preprint Service</a>.</li> | ||
| % endif | ||
| <li>Upload supplemental, materials, data, and code to the OSF project associated with your ${document_type}. |
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.
One more dropped $ here as well
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.
Lines that aren't pink/green aren't changed by me, so that's definitely the syntax highlighter not understanding the syntax.
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.
Yep, sorry, definitely misread these syntax highlighting here too!
I'm sorry, the branch selection text above doesn't include accessible links explaining to a mortal how to determine if something should be a
hotfix. As such, I'm targetingdevelop, however I can easily rebase and change the destination branch.Purpose
Do not use
(click) herelinksFor more information, see:
Changes
QA Notes
Please make verification statements inspired by your code and what your code touches.
What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation
Side Effects
Ticket