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

Feature request: Template editor #6360

Closed
elaine-jackson opened this issue Mar 18, 2019 · 3 comments
Closed

Feature request: Template editor #6360

elaine-jackson opened this issue Mar 18, 2019 · 3 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@elaine-jackson
Copy link

Unlike people who install from source, docker-compose users do not have a way to edit their templates (e.g. the german impressum, custom front page, etc). It'd be nice to have a simple template editor in the admin panel or even having templates accessible to compose users as another sort of config file. Thoughts?

@apricote
Copy link
Contributor

(Using the docker-compose from the Docs)

The custom folder referenced in the "Customization" docs page is located at /data/gitea inside the offical Docker image:

ENV GITEA_CUSTOM /data/gitea

The offical docker-compose file mounts the local folder ./gitea to /data:

volumes:
- ./gitea:/data

That means you can place the templates in the local folder ./gitea/gitea/templates/footer.tmpl (inside the container this file will have the path /data/gitea/templates/footer.tmpl)


That said, your feature request for a Template Editor is still valid.

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Mar 19, 2019
@elaine-jackson
Copy link
Author

Did this change? Is it no longer valid or closed to inactivity?

@techknowlogick
Copy link
Member

Closed as templates can be changed for docker, and as for legal pages such as you mentioned we have a specific document https://docs.gitea.io/en-us/adding-legal-pages/ this what codeberg.org is doing

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants