- {{ post.stats_with_defaults.replies }}
+ {{ post.stats_with_defaults.replies|default:"0" }}
- {{ post.stats_with_defaults.likes }}
+ {{ post.stats_with_defaults.likes|default:"0" }}
- {{ post.stats_with_defaults.boosts }}
+ {{ post.stats_with_defaults.boosts|default:"0" }}
Report
- {% if post.author == request.identity %}
-
- Edit
-
-
- Delete
-
- {% elif not post.local and post.url %}
+ {% if not post.local and post.url %}
See Original
diff --git a/templates/activities/compose.html b/templates/activities/compose.html
index ff0b3ec..b7b4cdf 100644
--- a/templates/activities/compose.html
+++ b/templates/activities/compose.html
@@ -1,41 +1,26 @@
-{% extends "base.html" %}
+{% extends "settings/base.html" %}
{% block title %}Compose{% endblock %}
-{% block content %}
+{% block settings_content %}
{% endblock %}
diff --git a/templates/activities/federated.html b/templates/activities/federated.html
deleted file mode 100644
index 9e61b6b..0000000
--- a/templates/activities/federated.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "activities/local.html" %}
-
-{% block title %}Federated Timeline{% endblock %}
diff --git a/templates/activities/local.html b/templates/activities/local.html
deleted file mode 100644
index 5a9b6a4..0000000
--- a/templates/activities/local.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Local Timeline{% endblock %}
-
-{% block content %}
- {% if page_obj.number == 1 %}
- {% include "_announcements.html" %}
- {% endif %}
-
- {% for post in page_obj %}
- {% include "activities/_post.html" with feedindex=forloop.counter %}
- {% empty %}
- No posts yet.
- {% endfor %}
-
-
-{% endblock %}
diff --git a/templates/activities/notifications.html b/templates/activities/notifications.html
index d4116dd..96ffd9a 100644
--- a/templates/activities/notifications.html
+++ b/templates/activities/notifications.html
@@ -1,55 +1,50 @@
-{% extends "base.html" %}
+{% extends "settings/base.html" %}
{% block title %}Notifications{% endblock %}
-{% block content %}
+{% block settings_content %}
{% if page_obj.number == 1 %}
{% include "_announcements.html" %}
{% endif %}
-
- {% if notification_options.followed %}
-
Followers
- {% else %}
-
Followers
- {% endif %}
- {% if notification_options.boosted %}
-
Boosts
- {% else %}
-
Boosts
- {% endif %}
- {% if notification_options.liked %}
-
Likes
- {% else %}
-
Likes
- {% endif %}
- {% if notification_options.mentioned %}
-
Mentions
- {% else %}
-
Mentions
- {% endif %}
- {% if request.user.admin %}
- {% if notification_options.identity_created %}
-
New Identities
+
+
+ {% if notification_options.boosted %}
+ Boosts
+ {% else %}
+ Boosts
+ {% endif %}
+ {% if notification_options.liked %}
+ Likes
+ {% else %}
+ Likes
+ {% endif %}
+ {% if notification_options.mentioned %}
+ Mentions
+ {% else %}
+ Mentions
+ {% endif %}
+
- {% for event in events %}
- {% include "activities/_event.html" %}
- {% empty %}
- No notifications yet.
- {% endfor %}
+ {% for event in events %}
+ {% include "activities/_event.html" %}
+ {% empty %}
+ No notifications yet.
+ {% endfor %}
-
+
{% endblock %}
diff --git a/templates/activities/post.html b/templates/activities/post.html
index cb7e60e..5fb8554 100644
--- a/templates/activities/post.html
+++ b/templates/activities/post.html
@@ -7,11 +7,13 @@
{% endblock %}
{% block content %}
- {% for ancestor in ancestors reversed %}
- {% include "activities/_post.html" with post=ancestor reply=True link_original=False %}
- {% endfor %}
- {% include "activities/_post.html" %}
- {% for descendant in descendants %}
- {% include "activities/_post.html" with post=descendant reply=True link_original=False %}
- {% endfor %}
+
+ {% for ancestor in ancestors reversed %}
+ {% include "activities/_post.html" with post=ancestor reply=True link_original=False %}
+ {% endfor %}
+ {% include "activities/_post.html" %}
+ {% for descendant in descendants %}
+ {% include "activities/_post.html" with post=descendant reply=True link_original=False %}
+ {% endfor %}
+
{% endblock %}
diff --git a/templates/activities/tag.html b/templates/activities/tag.html
index e0e35bf..b084cb3 100644
--- a/templates/activities/tag.html
+++ b/templates/activities/tag.html
@@ -3,27 +3,26 @@
{% block title %}#{{ hashtag.display_name }} Timeline{% endblock %}
{% block content %}
-
-
- {% include "activities/_hashtag_follow.html" %}
+
+
+
+ {{ hashtag.display_name }}
+
-
- {{ hashtag.display_name }}
+ {% for post in page_obj %}
+ {% include "activities/_post.html" %}
+ {% empty %}
+ No posts yet.
+ {% endfor %}
+
+
-
- {% for post in page_obj %}
- {% include "activities/_post.html" %}
- {% empty %}
- No posts yet.
- {% endfor %}
-
-
+
{% endblock %}
diff --git a/templates/admin/_menu.html b/templates/admin/_menu.html
new file mode 100644
index 0000000..0b0ec10
--- /dev/null
+++ b/templates/admin/_menu.html
@@ -0,0 +1,61 @@
+
diff --git a/templates/admin/base.html b/templates/admin/base.html
new file mode 100644
index 0000000..283c031
--- /dev/null
+++ b/templates/admin/base.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block title %}{% block subtitle %}{% endblock %} - Administration{% endblock %}
+
+{% block content %}
+
+ {% include "admin/_menu.html" %}
+
+ {% block settings_content %}
+ {% endblock %}
+
+
+{% endblock %}
diff --git a/templates/admin/settings.html b/templates/admin/settings.html
new file mode 100644
index 0000000..10326f0
--- /dev/null
+++ b/templates/admin/settings.html
@@ -0,0 +1,20 @@
+{% extends "admin/base.html" %}
+
+{% block subtitle %}{{ section.title }}{% endblock %}
+
+{% block settings_content %}
+
+{% endblock %}
diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html
index a6dcb98..e84bddd 100644
--- a/templates/settings/_menu.html
+++ b/templates/settings/_menu.html
@@ -1,6 +1,7 @@