diff options
Diffstat (limited to 'templates/package/shared/list.tmpl')
-rw-r--r-- | templates/package/shared/list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl index 249ba8c53c..af79490f4d 100644 --- a/templates/package/shared/list.tmpl +++ b/templates/package/shared/list.tmpl @@ -22,7 +22,7 @@ <span class="ui label">{{svg .Package.Type.SVGName 16}} {{.Package.Type.Name}}</span> </div> <div class="flex-item-body"> - {{$timeStr := TimeSinceUnix .Version.CreatedUnix $.locale}} + {{$timeStr := TimeSinceUnix .Version.CreatedUnix ctx.Locale}} {{$hasRepositoryAccess := false}} {{if .Repository}} {{$hasRepositoryAccess = index $.RepositoryAccessMap .Repository.ID}} |