diff options
author | Joe Chen <jc@unknwon.io> | 2023-08-23 00:15:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 00:15:30 -0400 |
commit | 069f1ed9a4651dd2598a513d94278a400a04e5a7 (patch) | |
tree | 4e2455a2aab10daba29985bffe15183ab09bb5d8 /templates/admin | |
parent | 1112a71ea5279a29666d54f07ef101480519fd16 (diff) |
db: migrate `admin.go` to `notices.go` with GORM (#7536)
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/notice.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index fc2c703c..781b44eb 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -29,7 +29,7 @@ </div> </td> <td>{{.ID}}</td> - <td>{{$.i18n.Tr .TrStr}}</td> + <td>{{$.i18n.Tr .Type.TrStr}}</td> <td>{{SubStr .Description 0 120}}...</td> <td><span class="poping up" data-content="{{.Created}}" data-variation="inverted tiny">{{DateFmtShort .Created}}</span></td> <td><a href="#"><i class="browser icon view-detail" data-content="{{.Description}}"></i></a></td> |