alps/plugins/carddav/public/address-object.html
2020-02-12 21:35:18 +01:00

28 lines
481 B
HTML

{{template "head.html"}}
<h1>koushin</h1>
<p>
<a href="/contacts">Back</a>
</p>
{{$fn := .AddressObject.Card.Value "FN"}}
<h2>Contact: {{$fn}}</h2>
<p>
<a href="/contacts/{{.AddressObject.Card.Value "UID" | pathescape}}/edit">
Edit
</a>
</p>
<ul>
<li><strong>Name</strong>: {{$fn}}</li>
{{range .AddressObject.Card.Values "EMAIL"}}
<li><strong>E-mail</strong>:
<a href="/compose?to={{.}}">{{.}}</a>
</li>
{{end}}
</ul>
{{template "foot.html"}}