summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorn <67550725+n194@users.noreply.github.com>2021-12-03 16:28:54 +0900
committerGitHub <noreply@github.com>2021-12-03 15:28:54 +0800
commit6791aae8de53972e0eeb83dc22ce2020531a81c5 (patch)
treedcb5e158ccd6421bd84afd373b683adbe466e3ec /templates/repo/wiki
parent6ceef876719c618e3f935337a70019040701076a (diff)
downloadgitea-6791aae8de53972e0eeb83dc22ce2020531a81c5.tar.gz
gitea-6791aae8de53972e0eeb83dc22ce2020531a81c5.zip
Add hints for special Wiki pages (#17283)
* Add UI hints to create a Wiki sidebar and footer
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/new.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl
index 6cfa798374..5b8cdc8164 100644
--- a/templates/repo/wiki/new.tmpl
+++ b/templates/repo/wiki/new.tmpl
@@ -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>