From f78bb68eb57603fe5779ca23fc060691444f60cc Mon Sep 17 00:00:00 2001 From: brantje Date: Sun, 2 Oct 2016 10:31:55 +0200 Subject: [PATCH] Show a message on vault creation, solves #51 --- js/templates.js | 2 +- templates/views/vaults.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/js/templates.js b/js/templates.js index 1058e9d1..bb72af15 100644 --- a/js/templates.js +++ b/js/templates.js @@ -119,5 +119,5 @@ angular.module('views/show_vault.html', []).run(['$templateCache', function($tem angular.module('views/vaults.html', []).run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('views/vaults.html', - '
  • + Create a new vault
  • {{vault.name}}
    Created: {{vault.created * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}} | Last accessed: {{vault.last_access * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}} Never
  • No vaults found, why not create one?
  • Go back to vaults
'); + '
  • + Create a new vault
  • {{vault.name}}
    Created: {{vault.created * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}} | Last accessed: {{vault.last_access * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}} Never
  • No vaults found, why not create one?
  • Go back to vaults
'); }]); diff --git a/templates/views/vaults.html b/templates/views/vaults.html index a7bf1631..b5f874e8 100644 --- a/templates/views/vaults.html +++ b/templates/views/vaults.html @@ -48,6 +48,11 @@
  • {{error}}
  • +
    + Your sharing key's will have a strength of 1024 + bit,
    which you can change later in settings. +
    +