summaryrefslogtreecommitdiffstats
path: root/templates/avatar.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/avatar.html')
-rw-r--r--templates/avatar.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/avatar.html b/templates/avatar.html
deleted file mode 100644
index fd226c61..00000000
--- a/templates/avatar.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<div ng-if="ctrl.contact.failedProps.indexOf('photo') !== -1" class="icon-error"></div>
-<img ng-show="contact.photo()!==undefined" class="contactdetails__logo avatar" id="contact-avatar" data-ng-src="{{contact.photo()}}" ng-click="ctrl.openPhoto()" />
-<div class="avatar-options">
- <input type="file" id="avatar-upload" class="hidden" accept="image/*" />
- <label for="avatar-upload" class="icon-upload-white" tooltip-placement="top" uib-tooltip="{{ctrl.t.uploadNewPhoto}}" tooltip-append-to-body="true"></label>
- <div class="icon-delete-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.removePhoto()"
- tooltip-placement="top" uib-tooltip="{{ctrl.t.deletePhoto}}" tooltip-append-to-body="true"></div>
- <div class="icon-fullscreen-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.openPhoto()"
- tooltip-placement="top" uib-tooltip="{{ctrl.t.closePhoto}}" tooltip-append-to-body="true"></div>
- <div class="icon-download-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.downloadPhoto()"
- tooltip-placement="top" uib-tooltip="{{ctrl.t.downloadPhoto}}" tooltip-append-to-body="true"></div>
-</div>