1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

folder and site count to vault list

This commit is contained in:
Kyle Spearrin 2016-12-31 15:18:40 -05:00
parent c684d66ec0
commit 53fcfd13ee

View File

@ -1,7 +1,7 @@
<section class="content-header">
<h1>
My Vault
<small>safe and secure</small>
<small>{{folders.length > 0 ? folders.length - 1 : 0}} folders, {{sites.length}} sites</small>
</h1>
</section>
<section class="content">
@ -10,7 +10,7 @@
</div>
<div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-folder-open"></i> {{folder.name}}</h3>
<h3 class="box-title"><i class="fa fa-folder-open"></i> {{folder.name}} <small>{{folderSites.length}} sites</small></h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" ng-click="addSite(folder)" uib-tooltip="Add Site">
<i class="fa fa-plus"></i>