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

Allow removal of rel for Terms and Privacy skin objects #5057

Merged
merged 3 commits into from
Mar 22, 2022

Conversation

Andy9999
Copy link
Contributor

@Andy9999 Andy9999 commented Mar 21, 2022

Set the rel attribute of the hyperlink only if there is either no value set in the skin or a non blank value defined in the skin. If it is set to rel="" in the skin, the hyperlink will be rendered without a rel attribute.

Fixes #5047

Summary

…e skin

Set the rel attribute of the hyperlink only if there is either no value set in the skin or a non blank value defined in the skin. If it is set to rel="" in the skin, the hyperlink will be rendered without a rel attribute.
DNN Platform/Website/admin/Skins/Privacy.ascx.cs Outdated Show resolved Hide resolved
DNN Platform/Website/admin/Skins/Terms.ascx.cs Outdated Show resolved Hide resolved
@bdukes bdukes added this to the 9.10.3 milestone Mar 21, 2022
@bdukes bdukes linked an issue Mar 21, 2022 that may be closed by this pull request
Andy9999 and others added 2 commits March 21, 2022 22:14
Co-authored-by: Brian Dukes <bdukes@engagesoftware.com>
Co-authored-by: Brian Dukes <bdukes@engagesoftware.com>
@valadas valadas changed the title Allow removal of rel for Terms and Privacy skin objects (#5047) Allow removal of rel for Terms and Privacy skin objects Mar 22, 2022
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

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

Looks good to me.

I moved the issue number from the title to the description so it auto-closes that issue.

@valadas valadas merged commit 87d23d3 into dnnsoftware:develop Mar 22, 2022
@Andy9999
Copy link
Contributor Author

I have added a summary to the Getter/Setter for the Rel attribute for the Privacy and Terms skin objects. ("Gets or sets the rel attribute of the Privacy/Terms skin object. Set it to an empty string to not render a rel attribute at all.").

I made that change on my local branch ("Fix-for-issue-#5047"). Can I still submit that now? Or do I need to make a new branch and new PR for that? What would be the best approach?

@bdukes
Copy link
Contributor

bdukes commented Mar 28, 2022

You can use the same branch, but it needs to be a new PR

@valadas valadas modified the milestones: 9.10.3, 9.11.0 Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNN Platform\Website\admin\Skins\Privacy.ascx.cs & Terms.ascx.cs
3 participants