-
Notifications
You must be signed in to change notification settings - Fork 0
/
_find_friends_twitter.html
69 lines (55 loc) · 2.31 KB
/
_find_friends_twitter.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{% if request.current_signup.crawling_twitter? %}
<div class="panel-body">
<p class="twitter-followings" id="twitter_followings">
<img src="{{ "bert-loader-small.gif" | asset_path }}" border="0"> Checking Twitter for people who have joined...
{{ request.current_signup.crawling_twitter_status_url | auto_refresh }}
</p>
</div>
{% else %}
{% if request.current_signup.followings_count_from_twitter == 0 %}
<div class="panel-body">
<p>None of the people you follow on Twitter have joined.</p>
</div>
{% else %}
<div class="panel-body">
<p><strong>{{ request.current_signup.followings_count_from_twitter }}</strong> people you follow on Twitter have joined.<br/>
You are automatically following them.</p>
{% if request.current_signup.followings_count_from_twitter > 6 %}
<p><span class="supporter-follow-details">Including...</span></p>
{% endif %}
</div>
<ul class="list-group">
{% for signup in request.current_signup.followings_from_twitter %}
<li class="list-group-item">
<div class="media {% cycle 'odd', 'even' %}">
<div class="media-left">{{ signup.bigger_profile_image }}</div>
<div class="media-body media-middle">{{ signup.published_name_linked }}</div>
</div>
</li>
{% endfor %}
</ul>
{% endif %}
{% if request.current_signup.followers_count_from_twitter == 0 %}
<div class="panel-body">
<p>None of your Twitter followers have joined.</p>
</div>
{% else %}
<div class="panel-body">
<p><strong>{{ request.current_signup.followers_count_from_twitter }}</strong> of your Twitter followers have already joined.<br/>
They are automatically following <em>you</em>.</p>
{% if request.current_signup.followers_count_from_twitter > 6 %}
<p><span class="supporter-follow-details">Including...</span></p>
{% endif %}
</div>
<ul class="list-group">
{% for signup in request.current_signup.followers_from_twitter %}
<li class="list-group-item">
<div class="media {% cycle 'odd', 'even' %}">
<div class="media-left">{{ signup.bigger_profile_image }}</div>
<div class="media-body media-middle">{{ signup.published_name_linked }}</div>
</div>
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}