From 89149b38c8d10d4db457614450517e4ab6d57062 Mon Sep 17 00:00:00 2001
From: Simon Ser
Date: Thu, 27 Feb 2020 12:17:23 +0100
Subject: plugins/carddav: use paths instead of UIDs in URLs
---
plugins/carddav/public/address-book.html | 2 +-
plugins/carddav/public/address-object.html | 2 +-
plugins/carddav/public/update-address-object.html | 4 +++-
3 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'plugins/carddav/public')
diff --git a/plugins/carddav/public/address-book.html b/plugins/carddav/public/address-book.html
index 3c31017..d4e13b9 100644
--- a/plugins/carddav/public/address-book.html
+++ b/plugins/carddav/public/address-book.html
@@ -17,7 +17,7 @@
{{range .AddressObjects}}
-
-
+
{{.Card.Value "FN"}}
{{$email := .Card.PreferredValue "EMAIL"}}
diff --git a/plugins/carddav/public/address-object.html b/plugins/carddav/public/address-object.html
index 1d564ee..e4ec135 100644
--- a/plugins/carddav/public/address-object.html
+++ b/plugins/carddav/public/address-object.html
@@ -11,7 +11,7 @@
Contact: {{$fn}}
-
+
Edit
diff --git a/plugins/carddav/public/update-address-object.html b/plugins/carddav/public/update-address-object.html
index b0ab20f..82adf8e 100644
--- a/plugins/carddav/public/update-address-object.html
+++ b/plugins/carddav/public/update-address-object.html
@@ -6,7 +6,9 @@
Back
-Edit contact
+
+ {{if .Card}}Edit{{else}}Create{{end}} contact
+