]> git.ipfire.org Git - pbs.git/blame - src/templates/events/modules/system-message.html
events: Create an event for deleted builds
[pbs.git] / src / templates / events / modules / system-message.html
CommitLineData
550e7194
MT
1<div class="media-object">
2 {% block thumbnail %}{% end block %}
3
4 <div class="media-object-section main-section">
6f76c9f8 5 {% block content %}
b1a5366d
MT
6 <p>
7 {% if event.type == "build-created" %}
b6463980
MT
8 {{ _("Build Created") }}
9 {% elif event.type == "build-deleted" %}
10 {{ _("Build Deleted") }}
b1a5366d
MT
11 {% elif event.type == "build-watcher-added" %}
12 {{ _("%s started watching this build") % event.user }}
13 {% elif event.type == "build-watcher-removed" %}
14 {{ _("%s stopped watching this build") % event.user }}
15 {% else %}
6f76c9f8 16 {{ _("- Unknown Event -") }}
b1a5366d
MT
17 {% end %}
18 </p>
550e7194
MT
19 {% end %}
20
21 <small>
22 {% block time %}
23 {{ locale.format_date(event.t) }}
24 {% end block %}
25 </small>
26 </div>
27</div>