mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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:
committed by
Lauris BH
parent
88a3bb6d42
commit
45c264f681
@@ -158,6 +158,9 @@
|
||||
{{end}}
|
||||
|
||||
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
|
||||
|
||||
{{template "custom/extra_links" .}}
|
||||
|
||||
{{/*
|
||||
<div class="item">
|
||||
<div class="ui icon input">
|
||||
|
Reference in New Issue
Block a user