summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/revision.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/wiki/revision.tmpl')
-rw-r--r--templates/repo/wiki/revision.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl
index d6f179c3ab..95b3cd0920 100644
--- a/templates/repo/wiki/revision.tmpl
+++ b/templates/repo/wiki/revision.tmpl
@@ -9,7 +9,7 @@
<a class="file-revisions-btn ui basic button" title="{{ctx.Locale.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}"><span>{{.revision}}</span> {{svg "octicon-home"}}</a>
{{$title}}
<div class="ui sub header gt-word-break">
- {{$timeSince := TimeSince .Author.When $.locale}}
+ {{$timeSince := TimeSince .Author.When ctx.Locale}}
{{ctx.Locale.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
</div>
</div>