From b7ebaf6d2078cbf4de00d0782be8bc1b1de644bb Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Tue, 28 Nov 2017 01:43:51 -0800 Subject: Various wiki bug fixes (#2996) * Update macaron * Various wiki bug fixes --- templates/repo/wiki/pages.tmpl | 2 +- templates/repo/wiki/view.tmpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/repo/wiki') diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 123e65bc23..8437e9b6b3 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -16,7 +16,7 @@ - {{.Name}} + {{.Name}} {{$timeSince := TimeSince .Updated $.Lang}} {{$.i18n.Tr "repo.wiki.last_updated" $timeSince | Safe}} diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 79f17f5de9..aa58ab36eb 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -21,7 +21,7 @@ @@ -57,9 +57,9 @@ {{$title}} {{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
- {{.i18n.Tr "repo.wiki.edit_page_button"}} + {{.i18n.Tr "repo.wiki.edit_page_button"}} {{.i18n.Tr "repo.wiki.new_page_button"}} - {{.i18n.Tr "repo.wiki.delete_page_button"}} + {{.i18n.Tr "repo.wiki.delete_page_button"}}
{{end}}
@@ -85,7 +85,7 @@ {{end}}
{{if .footerPresent}} -
+
{{.footerContent | Str2html}}
{{end}} -- cgit v1.2.3