alps/plugins/carddav/public/address-object.html

28 lines
445 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="{{.AddressObject.URL}}/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"}}