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

29 lines
442 B
HTML
Raw Normal View History

{{template "head.html"}}
2020-05-13 12:07:44 +00:00
<h1>alps</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"}}