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) {
|
||||
|
||||
var creationDate = this.model.get('createdAt');
|
||||
var displayCreationDate = "Unknown";
|
||||
var displayCreationDate = "at an unknown time";
|
||||
var hoverCreationDate = "";
|
||||
if (creationDate == null || !moment(creationDate).isValid()) {
|
||||
displayCreationDate = "Unknown";
|
||||
displayCreationDate = "at an unknown time";
|
||||
hoverCreationDate = "";
|
||||
} else {
|
||||
creationDate = moment(creationDate);
|
||||
|
|
Loading…
Reference in New Issue