Commit 60c645e4 authored by Robert Knight's avatar Robert Knight

Use the same layout for the 'Post to' scope dropdown as the groups dropdown list

Card 89
parent 32929cc7
......@@ -7,19 +7,30 @@
dropdown-menu-label="Change annotation sharing setting"
is-disabled="!canPost">
</dropdown-menu-btn>
<ul class="dropdown-menu pull-right publish-annotation-btn__dropdown-menu" role="menu">
<ul class="dropdown-menu pull-right group-list publish-annotation-btn__dropdown-menu" role="menu">
<li ng-click="vm.setPrivacy('shared')">
<a href="">
<i class="small"
ng-class="'h-icon-' + vm.group.type"></i>
<span ng-bind="vm.group.name"></span>
</a>
<div class="group-item">
<div class="group-icon-container">
<i class="small" ng-class="'h-icon-' + vm.group.type"></i>
</div>
<div class="group-details">
<div class="group-name-container">
<a href="" class="group-name-link" ng-bind="vm.group.name"></a>
</div>
</div>
</div>
</li>
<li ng-click="vm.setPrivacy('private')">
<a href="">
<div class="group-item">
<div class="group-icon-container">
<i class="small h-icon-lock"></i>
<span ng-bind="vm.privateLabel"></span>
</a>
</div>
<div class="group-details">
<div class="group-name-container">
<a href="" class="group-name-link" ng-bind="vm.privateLabel"></a>
</div>
</div>
</div>
</li>
</ul>
</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