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