summaryrefslogtreecommitdiffstats
path: root/templates/detailItems/email.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/detailItems/email.html')
-rw-r--r--templates/detailItems/email.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/detailItems/email.html b/templates/detailItems/email.html
index c31f629f..d297bf9d 100644
--- a/templates/detailItems/email.html
+++ b/templates/detailItems/email.html
@@ -1,6 +1,9 @@
<select ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)">
<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="mailto:{{ctrl.data.value}}">
+ <i class="icon-mail"></i>
+</a>
<input type="email" id="details-{{ctrl.name}}-{{ctrl.index}}" name="email"
ng-model="ctrl.data.value" email-model ng-model-options="{ debounce: 500 }"
ng-change="ctrl.model.updateContact()" value=""
@@ -8,6 +11,3 @@
focus-expression="$parent.ctrl.focus === ctrl.name"
/>
<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button>
-<a ng-if="ctrl.data.value.length" class="item-action" href="mailto:{{ctrl.data.value}}">
- <i class="icon-mail"></i>
-</a>