Line 140: imgImageUrl.Visible = entity.ShowImageUrl;
Line 141: if (entity.Author.isNOE())
Line 142: litPublishedDate.Text = (entity.HashAlarm) ? string.Format("<i class='fa fa-clock-o' aria-hidden='true'></i> {0:dddd, dd/MM/yyyy} {0:t}", entity.PublishedAlarm.Value) : string.Format("<i class='fa fa-clock-o' aria-hidden='true'></i> {0:dddd, dd/MM/yyyy} {0:t}", entity.PublishedDate.Value);
Line 143: else
Line 144: litPublishedDate.Text = (entity.HashAlarm) ? string.Format("<span class='author'>{0}</span> - <i class='fa fa-clock-o' aria-hidden='true'></i> {1:dddd, dd/MM/yyyy} {1:t}", entity.Author, entity.PublishedAlarm.Value) : string.Format("<span class='author'>{0}</span> - <i class='fa fa-clock-o' aria-hidden='true'></i> {1:dddd, dd/MM/yyyy} {1:t}", entity.Author, entity.PublishedDate.Value);
|