Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
4e8e8234
Unverified
Commit
4e8e8234
authored
Nov 26, 2019
by
Lyza Gardner
Committed by
GitHub
Nov 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1544 from hypothesis/remove-unused-share-template
Remove unused Angular annotation-share template
parents
a5f1de83
9c64bb6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
46 deletions
+0
-46
annotation-share-dialog.html
src/sidebar/templates/annotation-share-dialog.html
+0
-46
No files found.
src/sidebar/templates/annotation-share-dialog.html
deleted
100644 → 0
View file @
a5f1de83
<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&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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment