12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <div class="dtc w-10">
- <img src="{{ tweet.avi_icon_url }}" alt="Avi">
- </div>
- <div class="dtc w-90 v-top">
- <p class="w-100 mt0 pt0">
- <strong><a href="{{ tweet.author_url }}" class="w-100">{{ tweet.display_name }}</a></strong>
- {% if tweet.author_is_verified %}
- <small class="verified">[verified]</small>
- {% endif %}
-
- <a href="{{ tweet.author_url }}" class="silver">@{{ tweet.handle }}</a>
- <a href="{{ tweet.source_url }}">{{ tweet.created_at }}</a>
- </p>
- <p class="w-100">{{ tweet.text | replace('<', '<') | replace('\n', '<br>') | safe }}</p>
- {% if tweet.quoted_tweet %}
- <div class="dt qt-box">
- <div class="dt-row">
- {% with tweet = tweet.quoted_tweet %}
- {% include "partial/timeline-tweet.html" %}
- {% endwith %}
- </div>
- </div>
- {% endif %}
- {% if tweet.photos %}
- <p class="w-100">
- <ul>
- {% for photo in tweet.photos %}
- <li><img class="w-100" src="{{ photo.preview_image_url }}" crossorigin="" referrerpolicy="no-referrer" onclick="this.src='{{ photo.url }}'"></li>
- {% endfor %}
- </ul>
- </p>
- {% endif %}
- {% if tweet.videos %}
- <p class="w-100">
- <p>VIDEOS</p>
- <ul>
- {% for video in tweet.videos %}
- <li><img class="w-100" src="{{ video.preview_image_url }}" crossorigin="" referrerpolicy="no-referrer" onclick="this.src='{{ video.image_url }}'"></li>
- {% endfor %}
- </ul>
- </p>
- {% endif %}
-
- {% if tweet.card %}
-
- <div class="card-box w-100">
-
- <p><a href="{{ tweet.card.source_url }}">{{ tweet.card.display_url }}</a></p>
- <p><strong>{{ tweet.card.title }}</strong></p>
- <p>{{ tweet.card.content }}</p>
- </div>
- {% endif %}
-
- {% if tweet.public_metrics %}
-
- <p class="w-100">replies: {{ tweet.public_metrics.reply_count }},
- quotes: {{ tweet.public_metrics.quote_count }},
- rt: {{ tweet.public_metrics.retweet_count }},
- likes: {{ tweet.public_metrics.like_count }}
- </p>
- {% endif %}
-
- {% if tweet.non_public_metrics %}
-
-
- <p class="w-100">
- impressions: {{ tweet.non_public_metrics.impression_count }},
- clicks: {{ tweet.non_public_metrics.user_profile_clicks }},
- link clicks: {{ tweet.non_public_metrics.url_link_clicks | default('n/a') }},
- profile clicks: {{ tweet.non_public_metrics.user_profile_clicks | default('n/a') }}
- </p>
- {% endif %}
-
-
- </div>
|