localized legal page integrated in Gitea web framework #4831

Closed
opened 2025-11-02 06:04:08 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @0x6d61726b on GitHub (Feb 10, 2020).

I have seen the latest information and the closed issue about the legal and privacy pages. I am happy to see it is coming up (guess with v1.12) so Gitea can be used in the EU according to the current law.

Is it planned or may it be a good idea to extend the current behaviour maybe through a simple function that loads the content of an .html file language dependent (if the file exists, like privacy..html) or fallback to the default (like privacy.html). This functionality could be general, so it can be appied to any .html file.

Can the content of such an file also be loaded into the Gitea web framework, so it looks like it realy belongs to Gitea? Maybe it sounds too easy, but loading header, dumping content, loading footer, done.

Originally created by @0x6d61726b on GitHub (Feb 10, 2020). I have seen the latest information and the closed issue about the legal and privacy pages. I am happy to see it is coming up (guess with v1.12) so Gitea can be used in the EU according to the current law. Is it planned or may it be a good idea to extend the current behaviour maybe through a simple function that loads the content of an .html file language dependent (if the file exists, like privacy.<lang>.html) or fallback to the default (like privacy.html). This functionality could be general, so it can be appied to any .html file. Can the content of such an file also be loaded into the Gitea web framework, so it looks like it realy belongs to Gitea? Maybe it sounds too easy, but loading header, dumping content, loading footer, done.
GiteaMirror added the issue/stale label 2025-11-02 06:04:08 -06:00
Author
Owner

@stale[bot] commented on GitHub (Apr 10, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Apr 10, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Apr 25, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Apr 25, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4831