/
noun_detail.html
34 lines (29 loc) · 924 Bytes
/
noun_detail.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
<ol class="league">
<tpl for=".">
<li>
<p class="noun_phrase">
{article}
<a href="#collectors/{collector_slug}" class="collector">{collector}</a>
of
<a href="#nouns/{noun_slug}" class="noun">{noun}</a>
<span class="seed">
seeded by <a href="http://twitter.com/{seed.user_name}/status/{seed.tweet_id}" class="status_link">{seed.user_name}</a>
</span>
<tpl if="vote_count &gt; 1">
<span class="votes">
#{vote_count} votes
</span>
</tpl>
</p>
<tpl if="vote_count &gt; 1">
<ol>
<tpl for="votes">
<li>
<a href="http://twitter.com/{user_name}/status/{tweet_id}" class="status_link">{user_name}</a>
</li>
</tpl>
</ol>
</tpl>
</li>
</tpl>
</ol>