{{template "header.html" . }}
{{template "panel_menu.html" . }}

{{lang "panel_plugins_head"}}

{{range .ItemList}}
{{.Name}}
{{lang "panel_plugins_author_prefix"}}{{.Author}}
{{if .Settings}}{{lang "panel_plugins_settings"}}{{end}} {{if .Active}}{{lang "panel_plugins_deactivate"}} {{else if .Installable}} {{/** TODO: Write a custom template interpreter to fix this nonsense **/}} {{if .Installed}}{{lang "panel_plugins_activate"}}{{else}}{{lang "panel_plugins_install"}}{{end}} {{else}}{{lang "panel_plugins_activate"}}{{end}}
{{end}}
{{template "footer.html" . }}