75d3bd6 by Anon Ray at 2014-02-19 | 1 | {% extends "layout.html" %} |
2 | ||
3 | {% block body %} |
|
4 | <div id="store-stats"> |
|
5 | </div> |
|
6 | ||
7 | {% if sweets|length > 0 %} |
|
8 | ||
d120774 by Anon Ray at 2014-03-08 | 9 | <ul class="entries unstyled"> |
75d3bd6 by Anon Ray at 2014-02-19 | 10 | {% for sweet in sweets %} |
11 | <li> |
|
12 | <span class="who"> |
|
13 | <a href="#"> @{{ sweet.who }} </a> |
|
14 | </span> |
|
15 | <span class="what"> |
|
9f5d4dc by Anon Ray at 2014-02-19 | 16 | #{{ sweet.what.name }} |
75d3bd6 by Anon Ray at 2014-02-19 | 17 | </span> |
18 | <span class="where"> |
|
19 | {{ sweet.where }} |
|
20 | </span> |
|
21 | <p></p> |
|
22 | <span class="how"> |
|
23 | {{ sweet.how|escape|safe }} |
|
24 | </span> |
|
25 | ||
26 | <small><i>created: {{sweet.created }}</i></small> |
|
27 | ||
28 | <span class="pull-right permalink"> |
|
29 | <a href="#"> |
|
d120774 by Anon Ray at 2014-03-08 | 30 | <i class="glyphicon glyphicon-share"></i> |
75d3bd6 by Anon Ray at 2014-02-19 | 31 | </a> |
32 | </li> |
|
33 | {% endfor %} |
|
d120774 by Anon Ray at 2014-03-08 | 34 | </ul> |
75d3bd6 by Anon Ray at 2014-02-19 | 35 | |
36 | {% else %} |
|
d120774 by Anon Ray at 2014-03-08 | 37 | <div class="row"> |
38 | <div class="col-md-5"> |
|
39 | <h4><em>Unbelievable! No sweets yet!!</em></h4> |
|
40 | </div> |
|
41 | </div> |
|
75d3bd6 by Anon Ray at 2014-02-19 | 42 | {% endif %} |
43 | ||
44 | {% endblock %} |
|
45 |