diff --git a/librx/Base.lproj/Main.storyboard b/librx/Base.lproj/Main.storyboard
index e0a885e..c6c965e 100644
--- a/librx/Base.lproj/Main.storyboard
+++ b/librx/Base.lproj/Main.storyboard
@@ -740,7 +740,7 @@
-
+
@@ -788,6 +788,29 @@
+
@@ -795,23 +818,30 @@
+
+
+
+
+
+
+
diff --git a/librx/CustomTableCell.swift b/librx/CustomTableCell.swift
index 5be38a2..b40fe1c 100644
--- a/librx/CustomTableCell.swift
+++ b/librx/CustomTableCell.swift
@@ -27,7 +27,7 @@ class CustomTableCell: UITableViewCell {
@IBOutlet weak var summary: UILabel!
@IBOutlet weak var avatarImageView: UIImageView!
@IBOutlet weak var nameButton: UIButton!
-
+ @IBOutlet weak var pageMarkLabel: UILabel!
var delegate: StoryTableNavigationDelegate?
diff --git a/librx/StorysTableViewController.swift b/librx/StorysTableViewController.swift
index 941ff17..40fa61e 100644
--- a/librx/StorysTableViewController.swift
+++ b/librx/StorysTableViewController.swift
@@ -13,7 +13,7 @@ import SwiftyJSON
class StorysTableViewController: UITableViewController {
@IBOutlet weak var titleLabel: UILabel!
-
+
private var timer: NSTimer!
private var firstTime = true
private var postsLoader = PostsLoader(.Default)
@@ -96,6 +96,7 @@ class StorysTableViewController: UITableViewController {
}
}
+
override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
@@ -256,6 +257,15 @@ class StorysTableViewController: UITableViewController {
cell.thumbnilImageView.layer.borderWidth = 1
cell.thumbnilImageView.layer.borderColor = UIColor.clearColor().CGColor
+ cell.pageMarkLabel.hidden = true
+
+ if !post.goodFormat {
+ cell.pageMarkLabel.layer.cornerRadius = 10
+ cell.pageMarkLabel.clipsToBounds = true
+ cell.pageMarkLabel.hidden = false
+ }
+
+
cell.avatarImageView.sd_setImageWithURL(avatarUrl, placeholderImage: UIImage(named: "default"))
cell.avatarImageView.layer.cornerRadius = cell.avatarImageView.frame.size.width / 2
cell.avatarImageView.clipsToBounds = true