feat: vendor gitea 1.16.2
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
{{end}}
|
||||
</div>
|
||||
<form class="ui form" action="?action={{if .PageIsWikiEdit}}_edit{{else}}_new{{end}}" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<div class="field {{if .Err_Title}}error{{end}}">
|
||||
<input name="title" value="{{.title}}" aria-label="{{ctx.Locale.Tr "repo.wiki.page_title"}}" placeholder="{{ctx.Locale.Tr "repo.wiki.page_title"}}" autofocus required>
|
||||
</div>
|
||||
@@ -24,8 +23,7 @@
|
||||
{{end}}
|
||||
{{template "shared/combomarkdowneditor" (dict
|
||||
"CustomInit" true
|
||||
"MarkdownPreviewInRepo" $.Repository
|
||||
"MarkdownPreviewMode" "wiki"
|
||||
"MarkdownEditorContext" (ctx.MiscUtils.MarkdownEditorWiki $.Repository)
|
||||
"TextareaName" "content"
|
||||
"TextareaContent" $content
|
||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.wiki.page_content")
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</span>
|
||||
</h2>
|
||||
{{if $.Permission.IsAdmin}}<div>{{ctx.Locale.Tr "repo.default_branch"}}: {{.Repository.DefaultWikiBranch}}</div>{{end}}
|
||||
<table class="ui table wiki-pages-list">
|
||||
<table class="ui table selectable wiki-pages-list">
|
||||
<tbody>
|
||||
{{range .Pages}}
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user