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">
f867edb by Anon Ray at 2014-04-10 13
          <a href="#">
14
            @{{ sweet.who.username }}
15
          </a>
75d3bd6 by Anon Ray at 2014-02-19 16
        </span>
17
        <span class="what">
f867edb by Anon Ray at 2014-04-10 18
          <b> #{{ sweet.what.name }} </b>
75d3bd6 by Anon Ray at 2014-02-19 19
        </span>
20
        <span class="where">
21
          {{ sweet.where }}
22
        </span>
23
        <p></p>
24
        <span class="how">
25
          {{ sweet.how|escape|safe }}
26
        </span>
27
28
        <small><i>created: {{sweet.created }}</i></small>
29
30
        <span class="pull-right permalink">
8fe0bbc by Anon Ray at 2014-05-10 31
          <a href="{{ url_for('sweet.showSweet', id=sweet.id) }}">
d120774 by Anon Ray at 2014-03-08 32
          <i class="glyphicon glyphicon-share"></i>
75d3bd6 by Anon Ray at 2014-02-19 33
        </a>
34
      </li>
35
    {% endfor %}
d120774 by Anon Ray at 2014-03-08 36
    </ul>
75d3bd6 by Anon Ray at 2014-02-19 37
38
  {% else %}
d120774 by Anon Ray at 2014-03-08 39
  <div class="row">
40
    <div class="col-md-5">
41
      <h4><em>Unbelievable! No sweets yet!!</em></h4>
42
    </div>
43
  </div>
75d3bd6 by Anon Ray at 2014-02-19 44
  {% endif %}
45
46
{% endblock %}
47