1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +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"> <section class="content-header">
<h1> <h1>
My Vault My Vault
<small>safe and secure</small> <small>{{folders.length > 0 ? folders.length - 1 : 0}} folders, {{sites.length}} sites</small>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">
@ -10,7 +10,7 @@
</div> </div>
<div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length"> <div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length">
<div class="box-header with-border"> <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"> <div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" ng-click="addSite(folder)" uib-tooltip="Add Site"> <button type="button" class="btn btn-box-tool" ng-click="addSite(folder)" uib-tooltip="Add Site">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>