forked from forgejo/forgejo
Templates for extra links in top navbar and repo tool tabs. (#3308)
These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
This commit is contained in:
parent
88a3bb6d42
commit
45c264f681
5 changed files with 7 additions and 0 deletions
|
@ -89,6 +89,8 @@
|
|||
</a>
|
||||
{{end}}
|
||||
|
||||
{{template "custom/extra_tabs" .}}
|
||||
|
||||
{{if .IsRepositoryAdmin}}
|
||||
<div class="right menu">
|
||||
<a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue