1
{% extends "layout.html" %}
2
{% block body %}
3
  <div id="store-stats">
4
    <span><b>Total Sweets:</b> {{ stats.total_sweets }}</span>
5
  </div>
6
  <ul class="entries unstyled">
7
  {% if entries|len > 0 %}
8
    {% for entry in entries %}
9
	    {% if entry.who %}
10
      <li>
11
        {% if entry.registered %}
12
        <b>
13
          <a href="/user/{{ entry.who }}">@{{ entry.who }}</a>
14
        </b>
15
        {% else %}
16
        <b>@{{ entry.who }}</b>
17
        {% endif %}
18
19
        <b>#{{ entry.what }}</b>
20
        <a href="{{ appURL_map[entry.what] + entry.where }}" target="tab">
21
          {{ entry.where }}
22
        </a>
23
        <p></p>
24
        <p> {{ entry.how|safe }} </p>
25
        {% if entry.created|len > 0 %}
26
          <small><i> created: {{entry.created }} UTC </i></small>
27
        {% endif %}
28
        <a class="pull-right" href={{ "/posts/" + entry.id }}>
29
          <i class="icon-share-alt"></i>
30
        </a>
31
      </li>
32
			{% endif %}
33
    {% endfor %}
34
  {% else %}
35
    <li><em>Unbelievable.  No entries here so far</em></li>
36
  {% endif %}
37
  </ul>
38
{% endblock %}