Skip to content

Commit

Permalink
Fixing a mistake to do with quote tweets in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
ereuhl committed Jan 15, 2019
1 parent b979905 commit 1bc29b0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions source/templates/conversation.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ <h1>Linear Visualization of Tweet {{response['1.tweet']['tweet_id']}}:</h1>


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



Expand Down

0 comments on commit 1bc29b0

Please # to comment.