diff options
Diffstat (limited to '')
-rw-r--r-- | templates/repo/admin_flags.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/repo/admin_flags.tmpl b/templates/repo/admin_flags.tmpl new file mode 100644 index 0000000..2a65c9c --- /dev/null +++ b/templates/repo/admin_flags.tmpl @@ -0,0 +1,8 @@ +{{if .Repository.IsFlagged $.Context}} + <div class="ui info message" style="text-align: left"> + <strong>{{ctx.Locale.Tr "repo.admin.enabled_flags"}}</strong> + {{range .Repository.ListFlags $.Context}} + <span class="ui label">{{.Name}}</span> + {{end}} + </div> +{{end}} |