Unverified Commit 4e8e8234 authored by Lyza Gardner's avatar Lyza Gardner Committed by GitHub

Merge pull request #1544 from hypothesis/remove-unused-share-template

Remove unused Angular annotation-share template
parents a5f1de83 9c64bb6b
<div class="annotation-share-dialog__backdrop"
ng-if="vm.isOpen"
ng-click="vm.onClose()"></div>
<div class="annotation-share-dialog" ng-class="{'is-open': vm.isOpen}">
<div class="annotation-share-dialog-target">
<span class="annotation-share-dialog-target__label u-stretch">Share:</span>
<a href="https://twitter.com/intent/tweet?url={{vm.uri | urlEncode}}&hashtags=annotated"
target="_blank"
title="Tweet link"
class="annotation-share-dialog-target__icon h-icon-twitter"
ng-click="vm.onShareClick('twitter')"></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{vm.uri | urlEncode}}"
target="_blank"
title="Share on Facebook"
class="annotation-share-dialog-target__icon h-icon-facebook"
ng-click="vm.onShareClick('facebook')"></a>
<a href="mailto:?subject=Let's%20Annotate&amp;body={{vm.uri}}"
target="_blank"
title="Share via email"
class="annotation-share-dialog-target__icon h-icon-mail"
ng-click="vm.onShareClick('email')"></a>
</div>
<div class="annotation-share-dialog-link" type="text">
<input class="annotation-share-dialog-link__text"
value="{{vm.uri}}" readonly>
<span class="annotation-share-dialog-link__feedback" ng-if="vm.copyToClipboardMessage">
{{vm.copyToClipboardMessage}}
</span>
<button class="btn btn-clean annotation-share-dialog-link__btn"
ng-click="vm.copyToClipboard($event)">
<i class="h-icon-clipboard btn-icon"></i>
</button>
</div>
<div class="annotation-share-dialog-msg" ng-if="vm.group && vm.group.type === 'private' && !vm.isPrivate">
<span class="annotation-share-dialog-msg__audience">
Group.
</span>
Only group members will be able to view this annotation.
</div>
<div class="annotation-share-dialog-msg" ng-if="vm.isPrivate">
<span class="annotation-share-dialog-msg__audience">
Only me.
</span>
No one else will be able to view this annotation.
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment