1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-15 20:11:30 +01:00

subvault messages when sharing

This commit is contained in:
Kyle Spearrin 2017-04-06 10:24:15 -04:00
parent b27b4bef44
commit 0feea6091b
2 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,4 @@
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><i class="fa fa-share-alt"></i> Share Login <small>{{login.name}}</small></h4> <h4 class="modal-title"><i class="fa fa-share-alt"></i> Share Login <small>{{login.name}}</small></h4>
</div> </div>
@ -17,11 +17,13 @@
<option ng-repeat="org in organizations | orderBy: ['name']" value="{{org.id}}">{{org.name}}</option> <option ng-repeat="org in organizations | orderBy: ['name']" value="{{org.id}}">{{org.name}}</option>
</select> </select>
</div> </div>
<div ng-show="loadingSubvaults && !orgSubvaults.length">
<div ng-show="!loadingSubvaults && !subvaults.length"> <p>Loading...</p>
<p>No subvaults.</p>
</div> </div>
<div class="table-responsive" ng-show="subvaults.length" style="margin: 0;"> <div ng-show="!loadingSubvaults && !orgSubvaults.length">
<p>No subvaults with write access.</p>
</div>
<div class="table-responsive" ng-show="orgSubvaults.length" style="margin: 0;">
<table class="table table-striped table-hover" style="margin: 0;"> <table class="table table-striped table-hover" style="margin: 0;">
<thead> <thead>
<tr> <tr>
@ -34,7 +36,8 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="subvault in subvaults | filter: { organizationId: model.organizationId } | orderBy: ['name']"> <tr ng-repeat="subvault in orgSubvaults =
(subvaults | filter: { organizationId: model.organizationId } | orderBy: ['name'])">
<td valign="middle"> <td valign="middle">
<input type="checkbox" <input type="checkbox"
name="selectedSubvaults[]" name="selectedSubvaults[]"

View File

@ -92,7 +92,7 @@
<li ng-repeat="org in orgs | orderBy: ['name']"> <li ng-repeat="org in orgs | orderBy: ['name']">
<a href="javascript:void(0)" ng-click="viewOrganization(org.id)"> <a href="javascript:void(0)" ng-click="viewOrganization(org.id)">
<letter-avatar data="{{org.name}}" avclass="img-responsive img-rounded" round="false" <letter-avatar data="{{org.name}}" avclass="img-responsive img-rounded" round="false"
avheight="40" avwidth="40"></letter-avatar> avheight="40" avwidth="40" bgcolor="#1a2226"></letter-avatar>
</a> </a>
</li> </li>
</ul> </ul>