1 {% extends "base.html" %}
8 {% if current_user.notifications %}
9 <form method="post" action="{{ url_for('notifications.clear') }}" class="float-right">
10 <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
11 <input type="submit" class="btn btn-primary" value="Clear All" />
15 <h1>Notifications</h1>
17 <div class="list-group mt-3">
18 {% for n in current_user.notifications %}
19 <a class="list-group-item list-group-item-action" href="{{ n.url }}">
23 <div class="col-sm-auto text-muted">
25 class="img-responsive"
26 style="max-height: 22px; max-width: 22px;"
27 src="{{ n.package.getThumbnailURL(1) }}" />
39 <div class="col-sm-auto text-muted text-right">
40 <span class="pr-2">{{ n.causer.display_name }}</span>
42 class="img-responsive user-photo img-thumbnail img-thumbnail-1"
43 style="max-height: 22px;"
44 src="{{ n.causer.getProfilePicURL() }}" />
49 <p class="list-group-item"><i>No notifications</i></p>