-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtweet.ejs
More file actions
35 lines (34 loc) · 2.04 KB
/
tweet.ejs
File metadata and controls
35 lines (34 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<div id="<%- content.id %>" class="tweet content-item">
<div class="tweet-border">
<div class="h-card p-author">
<iframe class="follow-button" allowtransparency="true" frameborder="0" scrolling="no" src="//platform.twitter.com/widgets/follow_button.html#align=right&button=grey&screen_name=<%- content.importData.from_user %>&show_count=false&show_screen_name=false&lang=en"></iframe>
<a class="screen-name u-url" href="https://twitter.com/<%- content.importData.from_user %>" data-screen-name="twitterapi">
<span class="avatar pull-left"><img src="<%- content.importData.profile_image_url_https %>" class="u-photo img-rounded" alt=""/></span>
<span class="p-name"><%- content.importData.from_user_name %></span>
<span class="p-nickname">@<%- content.importData.from_user %></span>
</a>
</div>
<div class="tweet-content">
<p><%- content.text %></p>
</div>
<div class="tweet-footer">
<ul class="tweet-actions">
<li>
<a href="https://twitter.com/intent/tweet?in_reply_to=<%- content.importData.id_str %>" class="reply-action twt-intent" title="Reply" rel="popup"><i class="icon-share-alt"></i>Reply</a>
</li>
<li>
<a href="https://twitter.com/intent/retweet?tweet_id=<%- content.importData.id_str %>" class=" retweet-action twt-intent" title="Retweet" rel="popup"><i class="icon-retweet"></i>Retweet</a>
</li>
<li>
<a href="https://twitter.com/intent/favorite?tweet_id=<%- content.importData.id_str %>" class=" favorite-action twt-intent" title="Favorite" rel="popup"><i class="icon-star"></i>Favorite</a>
</li>
</ul>
<a class="view-details" href="//<%- content.url %>">
<span class="dt-updated " title="<%- content.createdAt %>">
<span class="value-title" title="<%- content.createdAt %>"></span>
<%- timeSince(content.createdAt) %>
</span>
</a>
</div>
</div>
</div>