1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +00:00

History: Fix some issues with the views

This commit is contained in:
Timur Ismagilov 2022-05-18 20:40:06 +03:00
parent e1f4b7465e
commit e922af77c1
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ var (
{{define "count post"}}свежих правок{{end}}
{{define "subscribe via"}}Подписаться через <a href="/recent-changes-rss">RSS</a>, <a href="/recent-changes-atom">Atom</a> или <a href="/recent-changes-json">JSON-ленту</a>.{{end}}
{{define "recent changes"}}Свежие правки{{end}}
{{define "n recent changes"}}{{.}} недавн{{if eq . 1}}ее изменение{{else if le . 4}}недавних изменения{{else}}недавних изменений{{end}}{{end}}
{{define "n recent changes"}}{{.}} недавн{{if eq . 1}}ее изменение{{else if le . 4}}их изменения{{else}}их изменений{{end}}{{end}}
{{define "recent empty"}}Правки не найдены.{{end}}
`
chainPrimitiveDiff, chainRecentChanges, chainHistory viewutil.Chain

View File

@ -10,7 +10,7 @@
{{block "count pre" .}}See{{end}}
{{ $editCount := .EditCount }}
{{range $i, $m := .Stops }}
{{if $i | gt 0}}
{{if gt $i 0}}
<span aria-hidden="true">|</span>
{{end}}
{{if $m | eq $editCount}}