Commit a2d5d22c authored by Randall Leeds's avatar Randall Leeds

Merge pull request #2231 from hypothesis/link-to-annotation

Change annotation card action from 'share' to 'link'
parents 725557d3 98cb0ee3
This diff is collapsed.
This diff is collapsed.
...@@ -142,11 +142,12 @@ ...@@ -142,11 +142,12 @@
<span class="share-dialog-wrapper"> <span class="share-dialog-wrapper">
<button class="small btn-clean" <button class="small btn-clean"
ng-click="share($event)" ng-click="share($event)"
><i class="h-icon-share btn-icon"></i> Share</button> ><i class="h-icon-link btn-icon"></i> Link</button>
<span class="share-dialog" ng-click="$event.stopPropagation()"> <span class="share-dialog" ng-click="$event.stopPropagation()">
<a class="h-icon-share" <a target="_blank"
target="_blank" class="h-icon-link"
ng-href="{{vm.annotationURI}}"></a> ng-href="{{vm.annotationURI}}"
title="Open in new tab"></a>
<input type="text" value="{{vm.annotationURI}}" readonly> <input type="text" value="{{vm.annotationURI}}" readonly>
</span> </span>
</span> </span>
......
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