aboutsummaryrefslogtreecommitdiff
path: root/plugins/carddav/public
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-12 21:35:18 +0100
committerSimon Ser <contact@emersion.fr>2020-02-12 21:35:18 +0100
commit778e6f9c89821663d4ea6c5ec9e389ed495f8c8d (patch)
tree1f996bd7c51e9ed4d3500f79b904d4c94016ba46 /plugins/carddav/public
parentc4ff33e64522f9662f5356d96b3d68f17764b84a (diff)
downloadalps-778e6f9c89821663d4ea6c5ec9e389ed495f8c8d.tar.gz
alps-778e6f9c89821663d4ea6c5ec9e389ed495f8c8d.zip
plugins/carddav: add view to edit contacts
Diffstat (limited to 'plugins/carddav/public')
-rw-r--r--plugins/carddav/public/address-object.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/carddav/public/address-object.html b/plugins/carddav/public/address-object.html
index 2c96fd4..1d564ee 100644
--- a/plugins/carddav/public/address-object.html
+++ b/plugins/carddav/public/address-object.html
@@ -10,6 +10,12 @@
<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"}}