-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Proposal: hide explore menu #1475
Comments
Are you aware of the custom templates feature ?
With that you could easily hide the menu (but the page would still
be available by having a direct URL).
|
This sounds pretty interesting. |
On Mon, Apr 10, 2017 at 02:09:00AM -0700, Yusef Maali wrote:
This sounds pretty interesting.
Can you give some hints where to looks for more details?
Uhm, I see the documentation is scarce:
https://docs.gitea.io/en-us/customizing-gitea/
It would be great if you could help improving it:
https://github.com/go-gitea/docs/blob/master/content/doc/advanced/customizing-gitea.en-us.md
Basically you copy any template from the `templates/` directory
into the `custom/templates/` directory, and modify as you see fit.
For your case it'd be the `templates/base/head.tmpl` to be copied
and modified.
Looking forward for your contribution to add a template section to
the documentation ! :)
|
sure! I need to pass through a Golang tutorial, then I will contribute for sure! |
I surely think it's worth passing the Golang tutorial, but will
note you don't need Golang expertise to provide *documentation*
patches (it's just text, markdown if you wish)
|
Of course, you're right. I thought I needed to run gitea from its sources. I'm seeing the compiled version is enough. |
This would be a needed feature. User case: Non admin users should not be able to see other users and other repositories. Not sure, but hiding the explore page (also sub pages) could solve that. |
@Spenhouet just hiding menu won't solve that. Access should be controlled also when opening repository page and for that there is private repository setting. If it is set other users won't be able to see that repository |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Was this added? Seems like a sensible feature to have. |
In some situations, the explore page may not be needed.
It should be very useful to have a config settings to hide at all the explore menu entry.
Something very similar to (for example) "DISABLE_REGISTRATION", we may have a "DISABLE_EXPLORE_MENU".
Thank you!
The text was updated successfully, but these errors were encountered: