mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
center about text
This commit is contained in:
@@ -156,11 +156,12 @@ export class SettingsComponent implements OnInit {
|
|||||||
about() {
|
about() {
|
||||||
this.analytics.eventTrack.next({ action: 'Clicked About' });
|
this.analytics.eventTrack.next({ action: 'Clicked About' });
|
||||||
|
|
||||||
|
const year = (new Date()).getFullYear();
|
||||||
const versionText = document.createTextNode(
|
const versionText = document.createTextNode(
|
||||||
this.i18nService.t('version') + ': ' + BrowserApi.getApplicationVersion());
|
this.i18nService.t('version') + ': ' + BrowserApi.getApplicationVersion());
|
||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.innerHTML = `<p><i class="fa fa-shield fa-3x"></i></p>
|
div.innerHTML = `<p class="text-center"><i class="fa fa-shield fa-3x"></i></p>
|
||||||
<p><strong>Bitwarden</strong><br>© 8bit Solutions LLC 2015-` + (new Date()).getFullYear() + `</p>`;
|
<p class="text-center"><b>Bitwarden</b><br>© 8bit Solutions LLC 2015-` + year + `</p>`;
|
||||||
div.appendChild(versionText);
|
div.appendChild(versionText);
|
||||||
|
|
||||||
swal({
|
swal({
|
||||||
|
|||||||
Reference in New Issue
Block a user