changed display text for unknown registration time on clients

pull/627/head
Justin Richer 2014-06-26 12:59:35 -04:00
parent 9a3bf818cd
commit a8185e5ae2
1 changed files with 2 additions and 2 deletions

View File

@ -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);