diff options
author | Simon Ser <contact@emersion.fr> | 2020-02-12 21:35:18 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-02-12 21:35:18 +0100 |
commit | 778e6f9c89821663d4ea6c5ec9e389ed495f8c8d (patch) | |
tree | 1f996bd7c51e9ed4d3500f79b904d4c94016ba46 /themes/sourcehut | |
parent | c4ff33e64522f9662f5356d96b3d68f17764b84a (diff) | |
download | alps-778e6f9c89821663d4ea6c5ec9e389ed495f8c8d.tar.gz alps-778e6f9c89821663d4ea6c5ec9e389ed495f8c8d.zip |
plugins/carddav: add view to edit contacts
Diffstat (limited to 'themes/sourcehut')
-rw-r--r-- | themes/sourcehut/address-object.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/sourcehut/address-object.html b/themes/sourcehut/address-object.html index 11db5e1..b664f62 100644 --- a/themes/sourcehut/address-object.html +++ b/themes/sourcehut/address-object.html @@ -9,7 +9,12 @@ <h2>{{$fn}}</h2> <ul class="nav nav-tabs"> <li class="nav-item"> - <a class="nav-link active" href="#">View contact</a> + <a class="nav-link active" href="#">View</a> + </li> + <li class="nav-item"> + <a class="nav-link" + href="/contacts/{{.AddressObject.Card.Value "UID" | pathescape}}/edit" + >Edit</a> </li> <li class="mr-auto d-none d-sm-flex"></li> <li class="nav-item"> |