aboutsummaryrefslogtreecommitdiff
path: root/plugins/carddav/public/address-object.html
blob: 1d564ee7b53d690990648cc41d6abc451450d72c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{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"}}