mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
appsettings version applied to about page. removed ols settings. setup dist gulp task
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
angular.module("bit")
|
||||
.constant("appSettings", { "rememberdEmailCookieName": "bit.rememberedEmail", "version": "0.0.1", "environment": "Development", "apiUri": "https://api.bitwarden.com" });
|
||||
angular.module('bit')
|
||||
.constant('appSettings', { 'version': '0.0.1' });
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsAboutController', function ($scope) {
|
||||
.controller('settingsAboutController', function ($scope, appSettings) {
|
||||
$scope.year = (new Date()).getFullYear();
|
||||
$scope.version = appSettings.version;
|
||||
});
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="content">
|
||||
<div class="about-page">
|
||||
<img src="../../../../images/logo@3x.png" alt="bitwarden" />
|
||||
Version 0.0.1<br />
|
||||
Version {{version}}<br />
|
||||
© 8bit Solutions LLC 2015-{{year}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user