summaryrefslogtreecommitdiffstats
path: root/templates/detailItems/tel.html
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-10 18:40:59 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-11 15:31:29 +0200
commit75f0d3c093de01365f85e8e3035291d9a9a8c889 (patch)
treeb84b25a2e6eb16c00a74fd6db8b0f446ef661a03 /templates/detailItems/tel.html
parent3f3ad0eeb8e01fe725a89ad196d23f22ad33de41 (diff)
Vue cleanup and init
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates/detailItems/tel.html')
-rw-r--r--templates/detailItems/tel.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/templates/detailItems/tel.html b/templates/detailItems/tel.html
deleted file mode 100644
index b3cf0253..00000000
--- a/templates/detailItems/tel.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<select ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)" ng-disabled="ctrl.contact.readOnly">
- <option ng-repeat="option in ctrl.availableOptions" value="{{option.id}}">{{option.name}}</option>
-</select>
-<a ng-if="ctrl.data.value.length" class="item-action" href="tel:{{ctrl.data.value}}">
- <i class="icon-comment"></i>
-</a>
-<input type="tel" id="details-{{ctrl.name}}-{{ctrl.index}}" name="phone"
- ng-model="ctrl.data.value" tel-model ng-model-options="{ debounce: 500 }"
- ng-change="ctrl.updateContact()" value=""
- placeholder="{{ctrl.meta.readableName}}"
- focus-expression="$parent.ctrl.focus === ctrl.name"
- ng-disabled="ctrl.contact.readOnly"
-/>
-<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}" ng-if="!ctrl.contact.readOnly"></button>