mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Added site count to folder header
This commit is contained in:
parent
6787da7667
commit
8a8e2bdf80
@ -24,15 +24,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div ng-if="vaultLogins.length && (vaultLogins.length < 100 || (searchText && searchText.length >= 2))">
|
<div ng-if="vaultLogins.length && (vaultLogins.length < 100 || (searchText && searchText.length >= 2))">
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="list-grouped" ng-repeat="folder in vaultFolders | orderBy: folderSort" ng-show="vaultFolders.length">
|
<div class="list-grouped" ng-repeat="folder in vaultFolders | orderBy: folderSort" ng-show="vaultFolderLogins.length">
|
||||||
<div ng-if="(vaultLogins | filter: { folderId: folder.id } | filter: searchLogins()).length">
|
|
||||||
<div class="list-grouped-header">
|
<div class="list-grouped-header">
|
||||||
<i class="fa fa-folder-open"></i> {{folder.name}}
|
<i class="fa fa-folder-open"></i> {{folder.name}}
|
||||||
|
<small>{{vaultFolderLogins.length}}</small>
|
||||||
</div>
|
</div>
|
||||||
<a href="javascript:void(0)" ng-click="viewLogin(login)"
|
<a href="javascript:void(0)" ng-click="viewLogin(login)"
|
||||||
class="list-grouped-item condensed" title="{{i18n.edit}} {{login.name}}"
|
class="list-grouped-item condensed" title="{{i18n.edit}} {{login.name}}"
|
||||||
ng-repeat="login in vaultLogins | filter: { folderId: folder.id }
|
ng-repeat="login in vaultFolderLogins = (vaultLogins | filter: { folderId: folder.id }
|
||||||
| filter: searchLogins() | orderBy: ['name', 'username']">
|
| filter: searchLogins() | orderBy: ['name', 'username'])">
|
||||||
<span class="btn-list" ng-click="$event.stopPropagation()" title="{{i18n.copyPassword}}" ngclipboard
|
<span class="btn-list" ng-click="$event.stopPropagation()" title="{{i18n.copyPassword}}" ngclipboard
|
||||||
ngclipboard-error="clipboardError(e)" ngclipboard-success="clipboardSuccess(e, i18n.password)"
|
ngclipboard-error="clipboardError(e)" ngclipboard-success="clipboardSuccess(e, i18n.password)"
|
||||||
data-clipboard-text="{{login.password}}" ng-class="{'disabled': !login.password}">
|
data-clipboard-text="{{login.password}}" ng-class="{'disabled': !login.password}">
|
||||||
@ -49,7 +49,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="centered-message" ng-if="loaded && !vaultLogins.length">
|
<div class="centered-message" ng-if="loaded && !vaultLogins.length">
|
||||||
<p>
|
<p>
|
||||||
{{i18n.noLoginsInList}}
|
{{i18n.noLoginsInList}}
|
||||||
|
@ -187,6 +187,13 @@
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 10px 10px;
|
padding: 10px 10px;
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
|
small {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user