Skip to content

Commit 025c6c0

Browse files
committed
custom templates
1 parent 34dcc5c commit 025c6c0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

templates/base/footer_content.tmpl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<footer role="group" aria-label="{{.locale.Tr "aria.footer"}}">
22
<div class="ui container">
33
<div class="ui left" role="contentinfo" aria-label="{{.locale.Tr "aria.footer.software"}}">
4-
<a target="_blank" rel="noopener noreferrer" href="https://gitea.io">{{.locale.Tr "powered_by" "Gitea"}}</a>
4+
<img style="width:30px;height:12px;" src="{{AssetUrlPrefix}}/img/067.png">
5+
上海垣沁信息科技有限公司
56
{{if (or .ShowFooterVersion .PageIsAdmin)}}
67
{{.locale.Tr "version"}}:
78
{{if .IsAdmin}}
@@ -28,8 +29,10 @@
2829
{{end}}
2930
</div>
3031
</div>
32+
<!--
3133
<a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a>
3234
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
35+
-->
3336
{{template "custom/extra_links_footer" .}}
3437
</div>
3538
</div>

templates/base/head_navbar.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,12 @@
181181
{{svg "octicon-tools"}}
182182
{{.locale.Tr "your_settings"}}<!-- Your settings -->
183183
</a>
184+
<div style="display:none">
184185
<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">
185186
{{svg "octicon-question"}}
186187
{{.locale.Tr "help"}}<!-- Help -->
187188
</a>
189+
</div>
188190
{{if .IsAdmin}}
189191
<div class="divider"></div>
190192

@@ -203,7 +205,9 @@
203205
</div><!-- end dropdown avatar menu -->
204206
</div><!-- end signed user right menu -->
205207
{{else}}
208+
<div style="display:none">
206209
<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.locale.Tr "help"}}</a>
210+
</div>
207211
<div class="right stackable menu">
208212
{{if .ShowRegistrationButton}}
209213
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">

0 commit comments

Comments
 (0)