1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Add hints for special Wiki pages (#17283)

* Add UI hints to create a Wiki sidebar and footer
This commit is contained in:
n
2021-12-03 16:28:54 +09:00
committed by GitHub
parent 6ceef87671
commit 6791aae8de
3 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,9 @@
<div class="field {{if .Err_Title}}error{{end}}">
<input name="title" value="{{.title}}" autofocus required>
</div>
<div class="help">
{{.i18n.Tr "repo.wiki.page_name_desc"}}
</div>
<div class="ui top attached tabular menu previewtabs" data-write="write" data-preview="preview">
<a class="active item" data-tab="write">{{.i18n.Tr "write"}}</a>
<a class="item" data-tab="preview" data-url="{{$.Repository.APIURL}}/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "preview"}}</a>