I created a custom/user/settings/navbar.tmpl but it seems to foul up UI for detailed settings of "Account" as well as "SSH/GPG Keys" #13526

Closed
opened 2025-11-02 10:45:07 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @square-foot on GitHub (Sep 24, 2024).

Description

In the gitea custom folder, I created user/settings/navbar.tmpl and used the same one in this Github repository (i.e. before I tried any customization) and restarted Gitea; but it gives 500 error when I try to go to "Account" as well as the "SSH/GPG Keys" detailed settings. UI for others detailed settings are fine. The moment I remove that navbar.tmpl and restart Gitea, it works fine.

NOTE: Other template customization I did is working... so I am working in the right gitea custom folder. I also changed the language file en-us I changed the word "code" to "file" as I am trying to create a Gitea for people like, writers and architects who do not code

Screenshots

image

Gitea Version

1.22.2

Can you reproduce the bug on the Gitea demo site?

No

Operating System

Windows

Browser Version

Brave v1.70.117 (Sep 19, 2024) with brave shields removed

Originally created by @square-foot on GitHub (Sep 24, 2024). ### Description In the gitea custom folder, I created user/settings/navbar.tmpl and used the same one in this Github repository (i.e. before I tried any customization) and restarted Gitea; but it gives 500 error when I try to go to "Account" as well as the "SSH/GPG Keys" detailed settings. UI for others detailed settings are fine. The moment I remove that navbar.tmpl and restart Gitea, it works fine. NOTE: Other template customization I did is working... so I am working in the right gitea custom folder. I also changed the language file en-us I changed the word "code" to "file" as I am trying to create a Gitea for people like, writers and architects who do not code ### Screenshots ![image](https://github.com/user-attachments/assets/ea2f4c7c-a6aa-4764-8b7d-b8dc6b6eee5c) ### Gitea Version 1.22.2 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System Windows ### Browser Version Brave v1.70.117 (Sep 19, 2024) with brave shields removed
GiteaMirror added the issue/needs-feedback label 2025-11-02 10:45:07 -06:00
Author
Owner

@lunny commented on GitHub (Sep 24, 2024):

Have you download the right version of the template file? It's recommended to extract the template from the command line. https://docs.gitea.com/administration/cmd-embedded

@lunny commented on GitHub (Sep 24, 2024): Have you download the right version of the template file? It's recommended to extract the template from the command line. https://docs.gitea.com/administration/cmd-embedded
Author
Owner

@square-foot commented on GitHub (Sep 25, 2024):

I had downloaded it from this repository here. I will try what you stated and get back. Thanks

@square-foot commented on GitHub (Sep 25, 2024): I had downloaded it from this repository here. I will try what you stated and get back. Thanks
Author
Owner

@GiteaBot commented on GitHub (Oct 27, 2024):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Oct 27, 2024): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13526