Show last login along with the badges on the user view screen.

This commit is contained in:
Bill Nottingham
2019-02-14 20:25:50 -05:00
parent 5682fb1503
commit 6a11281355
4 changed files with 16 additions and 0 deletions
@@ -1418,6 +1418,8 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
"ng-show='ldap_user'>LDAP</span>";
html+= "<span class=\"Form-title--is_external_account\" "+
"ng-show='external_account'>{{external_account}}</span>";
html+= "<span class=\"Form-title--last_login\" "+
"ng-show='last_login'>" + i18n._("Last logged in: ") + "{{ last_login | longDate }}</span>";
}
if(this.form.name === "smartinventory"){
html+= "<span class=\"Form-title--is_smartinventory\" "+