carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1{{define "app_activity"}}{{template "top" .}}
2{{if .Flash}}<p class="banner">{{.Flash}}</p>{{end}}
3{{if .FlashErr}}<p class="banner error">{{.FlashErr}}</p>{{end}}
4{{template "appnav" .}}
5
6<h2>Activity</h2>
7{{if .Events}}
8<div class="tablewrap">
9<table>
10 <tr><th>When</th><th>Who</th><th>{{.ActivityCopy.Description}}</th><th>What</th></tr>
11 {{range .Events}}
12 <tr><td>{{fmtTime .CreatedAt}}</td><td>{{.Address}}</td>
13 <td>{{if .Message}}{{.Message}}{{else}}—{{end}}</td>
14 <td>{{if .TargetURL}}<a href="{{.TargetURL}}">{{.Detail}}</a>{{else}}{{.Detail}}{{end}}</td>
15 </tr>
16 {{end}}
17</table>
18</div>
19{{else}}<p class="small">Nothing yet — promotes, rollbacks and canaries made in this console will show here.</p>{{end}}
20<p class="small">{{.ActivityCopy.Scope}}</p>
21{{template "bottom" .}}{{end}}
22