{{template "base/header" .}}

{{t .LangCode "qlist.title"}}

{{t .LangCode "admin.featuresEntry"}}
{{template "base/alert" .}} {{ if .RestrictionLevel }}
{{t .LangCode "qlist.restrictionBanner" .RestrictionLevel .RestrictionExpiresAt}} · {{t .LangCode "qlist.restrictionRulesLink"}}
{{ end }}
{{ .Stats.total }}{{t .LangCode "qlist.statsTotal"}}
{{ .Stats.answered }}{{t .LangCode "qlist.statsAnswered"}}
{{ .Stats.unanswered }}{{t .LangCode "qlist.statsUnanswered"}}
{{ .Stats.read }}{{t .LangCode "qlist.statsRead"}}
{{ .Stats.unread }}{{t .LangCode "qlist.statsUnread"}}
{{ .Stats.private }}{{t .LangCode "qlist.statsPrivate"}}
{{ .Stats.pinned }}{{t .LangCode "qlist.statsPinned"}}
{{ if ne .Keyword "" }} {{ end }}

{{t .LangCode "qlist.received"}}

{{ if .ReceivedItems }} {{ range .ReceivedItems }}

{{Date .CreatedAt "Y-m-d H:i:s"}} {{ if .IsPinned }} {{t $.LangCode "qlist.pinnedShort"}}{{t $.LangCode "qlist.pinned"}} {{ end }} {{ if eq .Type "question_private" }} {{t $.LangCode "qlist.privateShort"}}{{t $.LangCode "qlist.private"}} {{ end }} {{ if not .IsAnswered }} {{t $.LangCode "qlist.unansweredShort"}}{{t $.LangCode "qlist.unanswered"}} {{ end }} {{ if .ReportCount }} {{t $.LangCode "qlist.reportedShort" .ReportCount}}{{t $.LangCode "qlist.reported" .ReportCount}} {{ end }} {{ if .IsRead }} {{t $.LangCode "qlist.readShort"}}{{t $.LangCode "qlist.read"}} {{ else }} {{t $.LangCode "qlist.unreadShort"}}{{t $.LangCode "qlist.unread"}} {{ end }}
{{ if not .IsRead }}
{{ $.CSRFTokenHTML }}
{{ end }}
{{ $.CSRFTokenHTML }}
{{MarkdownPlainText .Content}}
{{ end }} {{ if .HasMoreQuestions }} {{ end }} {{ else }}

{{t .LangCode "qlist.empty"}}

{{ end }}
{{template "base/footer" .}}