From e794876d140ac8aaf3f8c419eda5de8a3e16e737 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Mon, 23 Jul 2018 13:21:30 -0400 Subject: [PATCH] Fix two places switch from own_username to own_acct was missed --- brutaldon/templates/main/toot_partial.html | 2 +- brutaldon/templates/main/user.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 6ff716c..c7ae67c 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -116,7 +116,7 @@
- {% if toot.account.acct == own_username %} + {% if toot.account.acct == own_acct.acct %} delete diff --git a/brutaldon/templates/main/user.html b/brutaldon/templates/main/user.html index 869c325..1b4858b 100644 --- a/brutaldon/templates/main/user.html +++ b/brutaldon/templates/main/user.html @@ -33,7 +33,7 @@ Brutaldon ({{ own_acct.username }}) - {{ user.acct }} timelime
{{ user.note | relink_toot | strip_html | safe }}
- {% if user.acct != own_username %} + {% if user.acct != own_acct.acct %}
{% if relationship.requested %}