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

Add link to contact form to error page #53

Open
toothstone opened this issue May 21, 2017 · 2 comments
Open

Add link to contact form to error page #53

toothstone opened this issue May 21, 2017 · 2 comments
Milestone

Comments

@toothstone
Copy link
Contributor

Since SIPA is now available for unauthorized users, we should link to our contact form there.

@toothstone toothstone self-assigned this May 21, 2017
@fgrsnau
Copy link
Member

fgrsnau commented Jun 11, 2017

Unfortunately, we would need some kind of custom message on the error page. This is currently not implemented. One could update the template /usr/share/hades/templates. Those changes are not permanent.

There multiple solutions:

  1. Override the template via a file in /etc/hades/templates.
  2. Fetch custom messages from a database.
  3. Add a config option HADES_PORTAL_CUSTOM_{MESSAGE,FOOTER,WHATEVER}.

The last one is quite easy to implement and it is also the least flexible one. Making every aspect of hades fully customizable is not worth the overhead imho.

@toothstone
Copy link
Contributor Author

To be honest, I would probably have just put it in the template base.html, since there are lots of hardcoded strings in there already. But an additional config option works for me just as well, I wasn't aware that the mail address is included this way.

@sebschrader sebschrader added this to the 0.6 milestone Jun 27, 2020
@toothstone toothstone removed their assignment Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants