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

#4361 - add SUPPORT_MESSAGE configuration setting #4591

Merged
merged 6 commits into from Oct 4, 2023

Conversation

glennmatthews
Copy link
Contributor

@glennmatthews glennmatthews commented Oct 3, 2023

Closes: #4361 (will need double-commit to ltm/1.6)

What's Changed

Add a new config setting SUPPORT_MESSAGE that can be configured in nautobot_config.py or via Constance. When set, this message (Markdown format) will be rendered into any 4xx or 5xx page returned by Nautobot, replacing the standard message about joining NTC's Slack community and posting in #nautobot.

Screenshot 2023-10-03 at 3 39 54 PM

Screenshot 2023-10-03 at 3 40 08 PM

Screenshot 2023-10-03 at 3 40 38 PM

Screenshot 2023-10-03 at 4 48 59 PM

image

Additionally, fixed a couple of bugs in the 2.0 documentation that I noticed along the way.

TODO

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • n/a Example Plugin Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

@HanlinMiao HanlinMiao self-assigned this Oct 4, 2023
@glennmatthews glennmatthews merged commit 18ed462 into develop Oct 4, 2023
21 checks passed
@glennmatthews glennmatthews deleted the u/glennmatthews-4361-custom-support-message branch October 4, 2023 16:30
@glennmatthews glennmatthews mentioned this pull request Oct 4, 2023
7 tasks
@glennmatthews glennmatthews mentioned this pull request Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Messaging for Error Pages (403, 404, 500)
3 participants