summaryrefslogtreecommitdiff
path: root/Juick/MessagesViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/MessagesViewController.m')
-rw-r--r--Juick/MessagesViewController.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m
index 68c70cb..2e27d43 100644
--- a/Juick/MessagesViewController.m
+++ b/Juick/MessagesViewController.m
@@ -163,6 +163,12 @@ static NSString *CellIdentifier = @"MessageCell";
}];
cell.titleLabel.text = msg.user;
cell.titleLabel.textColor = [ColorsAndButtons linkColor];
+ cell.timestampLabel.text = msg.timestamp;
+ if (msg.repliesCount > 0) {
+ cell.summaryLabel.text = [NSString stringWithFormat:@"%@ replies by %@", msg.repliesCount, msg.repliesBy];
+ } else {
+ cell.summaryLabel.text = nil;
+ }
cell.bodyLabel.text = [msg.text stringByDecodingHTMLEntities];
if ([msg.tags count] > 0) {
cell.bodyLabel.text = [[NSString alloc] initWithFormat:@"%@\n%@", [msg.tags componentsJoinedByString:@", "],
@@ -187,6 +193,12 @@ static NSString *CellIdentifier = @"MessageCell";
}];
cell.titleLabel.text = msg.user;
+ cell.timestampLabel.text = msg.timestamp;
+ if (msg.repliesCount > 0) {
+ cell.summaryLabel.text = [NSString stringWithFormat:@"%@ replies by %@", msg.repliesCount, msg.repliesBy];
+ } else {
+ cell.summaryLabel.text = nil;
+ }
cell.bodyLabel.text = [msg.text stringByDecodingHTMLEntities];
if ([msg.tags count] > 0) {
cell.bodyLabel.text = [[NSString alloc] initWithFormat:@"%@\n%@", [msg.tags componentsJoinedByString:@", "],