From 1bc29b012ae53a6516a678c37bce32fae411c380 Mon Sep 17 00:00:00 2001 From: Elli Date: Tue, 15 Jan 2019 14:41:41 +0100 Subject: [PATCH] Fixing a mistake to do with quote tweets in the template --- source/templates/conversation.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/templates/conversation.html b/source/templates/conversation.html index c2bd857..56d056d 100644 --- a/source/templates/conversation.html +++ b/source/templates/conversation.html @@ -59,12 +59,14 @@

Linear Visualization of Tweet {{response['1.tweet']['tweet_id']}}:

Quote Tweets: - {% for items in response['3.quote_tweets'] %} -
{{items['1.tweet']['tweet_id']}}
-
{{items['1.tweet']['user']['user_name']}},{{items['1.tweet']['user']['screen_name']}},{{items['1.tweet']['timestamp']}}
-
{{items['1.tweet']['tweet_content']}}
-
- {% endfor %} + {% if response['3.quote_tweets'] %} + {% for items in response['3.quote_tweets'] %} +
{{items['1.tweet']['tweet_id']}}
+
{{items['1.tweet']['user']['user_name']}},{{items['1.tweet']['user']['screen_name']}},{{items['1.tweet']['timestamp']}}
+
{{items['1.tweet']['tweet_content']}}
+
+ {% endfor %} + {% endif %}