From 8342c7aae7f8e345d4c5671b5df00d569ed97675 Mon Sep 17 00:00:00 2001 From: f0x Date: Tue, 30 Jul 2024 17:26:55 +0200 Subject: [PATCH] auto-format other templates for consistency --- web/template/email_new_report.tmpl | 2 +- web/template/finalize.tmpl | 17 ++-- web/template/page_footer.tmpl | 30 ++----- web/template/page_header.tmpl | 47 +++++----- web/template/sign-up.tmpl | 64 ++++---------- web/template/signed-up.tmpl | 2 +- web/template/status.tmpl | 19 ++-- web/template/status_attachments.tmpl | 128 ++++++--------------------- web/template/status_attributes.tmpl | 34 +++---- web/template/status_poll.tmpl | 18 ++-- 10 files changed, 113 insertions(+), 248 deletions(-) diff --git a/web/template/email_new_report.tmpl b/web/template/email_new_report.tmpl index af98579c4..538d019a6 100644 --- a/web/template/email_new_report.tmpl +++ b/web/template/email_new_report.tmpl @@ -23,4 +23,4 @@ Hello moderator of {{ .InstanceName }} ({{ .InstanceURL }})! {{- else if .ReportTargetDomain }}Someone from your instance has reported a user from {{ .ReportTargetDomain }}. {{- else }}Someone from your instance has reported another user from your instance.{{ end }} -To view the report, paste the following link into your browser: {{ .ReportURL }} +To view the report, paste the following link into your browser: {{ .ReportURL }} \ No newline at end of file diff --git a/web/template/finalize.tmpl b/web/template/finalize.tmpl index 861dc635f..383eb72d4 100644 --- a/web/template/finalize.tmpl +++ b/web/template/finalize.tmpl @@ -31,19 +31,14 @@

- + value="{{- .preferredUsername -}}">
diff --git a/web/template/page_footer.tmpl b/web/template/page_footer.tmpl index a00f4dfde..c4ef8a99d 100644 --- a/web/template/page_footer.tmpl +++ b/web/template/page_footer.tmpl @@ -21,43 +21,29 @@