diff --git a/bookwyrm/templates/settings/announcement_form.html b/bookwyrm/templates/settings/announcements/announcement_form.html
similarity index 100%
rename from bookwyrm/templates/settings/announcement_form.html
rename to bookwyrm/templates/settings/announcements/announcement_form.html
diff --git a/bookwyrm/templates/settings/announcements.html b/bookwyrm/templates/settings/announcements/announcements.html
similarity index 90%
rename from bookwyrm/templates/settings/announcements.html
rename to bookwyrm/templates/settings/announcements/announcements.html
index 2c57ae78..c86ecf3e 100644
--- a/bookwyrm/templates/settings/announcements.html
+++ b/bookwyrm/templates/settings/announcements/announcements.html
@@ -11,7 +11,7 @@
{% block panel %}
@@ -48,11 +48,10 @@
{% if announcement.active %}{% trans "active" %}{% else %}{% trans "inactive" %}{% endif %} |
{% endfor %}
+ {% if not announcements %}
+
{% trans "No announcements found" %} |
+ {% endif %}
-
- {% if not announcements %}
-
{% trans "No announcements found." %}
- {% endif %}
{% include 'snippets/pagination.html' with page=announcements path=request.path %}
diff --git a/bookwyrm/templates/settings/dashboard.html b/bookwyrm/templates/settings/dashboard/dashboard.html
similarity index 80%
rename from bookwyrm/templates/settings/dashboard.html
rename to bookwyrm/templates/settings/dashboard/dashboard.html
index 608d32c9..fbf3ff72 100644
--- a/bookwyrm/templates/settings/dashboard.html
+++ b/bookwyrm/templates/settings/dashboard/dashboard.html
@@ -67,27 +67,27 @@
+
@@ -51,6 +55,8 @@
{{ error | escape }}
{% endfor %}
+
+
@@ -62,7 +68,7 @@
-
+
diff --git a/bookwyrm/templates/settings/federated_server.html b/bookwyrm/templates/settings/federation/instance.html
similarity index 56%
rename from bookwyrm/templates/settings/federated_server.html
rename to bookwyrm/templates/settings/federation/instance.html
index 6a1a5488..f0e48a97 100644
--- a/bookwyrm/templates/settings/federated_server.html
+++ b/bookwyrm/templates/settings/federation/instance.html
@@ -19,18 +19,14 @@
{% trans "Details" %}
-
-
- {% trans "Software:" %}
- - {{ server.application_type }}
-
-
-
- {% trans "Version:" %}
- - {{ server.application_version }}
-
-
-
- {% trans "Status:" %}
- - {{ server.get_status_display }}
-
+ - {% trans "Software:" %}
+ - {{ server.application_type }}
+
+ - {% trans "Version:" %}
+ - {{ server.application_version }}
+
+ - {% trans "Status:" %}
+ - {{ server.get_status_display }}
@@ -39,38 +35,32 @@
{% trans "Activity" %}
-
-
- {% trans "Users:" %}
-
-
- {{ users.count }}
- {% if server.user_set.count %}({% trans "View all" %}){% endif %}
-
-
-
-
- {% trans "Reports:" %}
-
-
- {{ reports.count }}
- {% if reports.count %}({% trans "View all" %}){% endif %}
-
-
-
-
- {% trans "Followed by us:" %}
- -
- {{ followed_by_us.count }}
-
-
-
-
- {% trans "Followed by them:" %}
- -
- {{ followed_by_them.count }}
-
-
-
-
- {% trans "Blocked by us:" %}
- -
- {{ blocked_by_us.count }}
-
-
+ - {% trans "Users:" %}
+ -
+ {{ users.count }}
+ {% if server.user_set.count %}({% trans "View all" %}){% endif %}
+
+
+ - {% trans "Reports:" %}
+ -
+ {{ reports.count }}
+ {% if reports.count %}({% trans "View all" %}){% endif %}
+
+
+ - {% trans "Followed by us:" %}
+ -
+ {{ followed_by_us.count }}
+
+
+ - {% trans "Followed by them:" %}
+ -
+ {{ followed_by_them.count }}
+
+
+ - {% trans "Blocked by us:" %}
+ -
+ {{ blocked_by_us.count }}
+
@@ -86,14 +76,13 @@
{% include 'snippets/toggle/open_button.html' with text=button_text icon_with_text="pencil" controls_text="edit_notes" %}
- {% if server.notes %}
-
{{ server.notes|to_markdown|safe }}
- {% endif %}
+ {% trans "
No notes" as null_text %}
+
{{ server.notes|to_markdown|default:null_text|safe }}