changed display text for unknown registration time on clients
parent
9a3bf818cd
commit
a8185e5ae2
|
@ -171,10 +171,10 @@ var ClientView = Backbone.View.extend({
|
||||||
render:function (eventName) {
|
render:function (eventName) {
|
||||||
|
|
||||||
var creationDate = this.model.get('createdAt');
|
var creationDate = this.model.get('createdAt');
|
||||||
var displayCreationDate = "Unknown";
|
var displayCreationDate = "at an unknown time";
|
||||||
var hoverCreationDate = "";
|
var hoverCreationDate = "";
|
||||||
if (creationDate == null || !moment(creationDate).isValid()) {
|
if (creationDate == null || !moment(creationDate).isValid()) {
|
||||||
displayCreationDate = "Unknown";
|
displayCreationDate = "at an unknown time";
|
||||||
hoverCreationDate = "";
|
hoverCreationDate = "";
|
||||||
} else {
|
} else {
|
||||||
creationDate = moment(creationDate);
|
creationDate = moment(creationDate);
|
||||||
|
|
Loading…
Reference in New Issue