diff --git a/controllers/story.js b/controllers/story.js index e5d1788e0a..fea8f00a42 100644 --- a/controllers/story.js +++ b/controllers/story.js @@ -57,24 +57,28 @@ exports.recentJSON = function(req, res, next) { exports.hot = function(req, res) { res.render('stories/index', { + title: 'Hot stories currently trending on Camper News', page: 'hot' }); }; exports.submitNew = function(req, res) { res.render('stories/index', { + title: 'Submit a new story to Camper News', page: 'submit' }); }; exports.search = function(req, res) { res.render('stories/index', { + title: 'Search the archives of Camper News', page: 'search' }); }; exports.recent = function(req, res) { res.render('stories/index', { + title: 'Recently submitted stories on Camper News', page: 'recent' }); }; @@ -98,6 +102,7 @@ exports.preSubmit = function(req, res) { var image = data.image || ''; var description = data.description || ''; return res.render('stories/index', { + title: "Confirm your Camper News story submission", page: 'storySubmission', storyURL: data.url, storyTitle: title, diff --git a/views/stories/comments.jade b/views/stories/comments.jade index dde7337b95..53ae1f12b3 100644 --- a/views/stories/comments.jade +++ b/views/stories/comments.jade @@ -34,9 +34,9 @@ '

' + commentDetails.body + '

' + '
' + '
' + + "Reply · " + "commented " + moment(commentDetails.commentOn).fromNow() + " by " + - "@" + commentDetails.author.username + " · " + - "Reply" + + "@" + commentDetails.author.username + "" + '
' + '
' + '' + diff --git a/views/stories/new-stories.jade b/views/stories/new-stories.jade index 522db9edfd..97a6aa02d6 100644 --- a/views/stories/new-stories.jade +++ b/views/stories/new-stories.jade @@ -40,7 +40,6 @@ "
" + "" + "discuss · " + - " · " + rank + (rank > 1 ? " points" : " point") + " · posted " + moment(data[i].timePosted).fromNow() + " by @" + data[i].author.username + " " +" " + diff --git a/views/stories/show.jade b/views/stories/show.jade index 2ee65b3290..e7de654a95 100644 --- a/views/stories/show.jade +++ b/views/stories/show.jade @@ -36,11 +36,13 @@ .col-xs-12 h4= description .negative-5 + a#reply-to-main-post.btn.btn-no-shadow.btn-primary.btn-xs.btn-primary-ghost Reply + |  ·  span Posted #{timeAgo} span  by  a(href="/" + author.username) @#{author.username} - |  ·  - a#reply-to-main-post Reply + + .col-xs-12#reply-area .hidden-element#initial-comment-submit form.form-horizontal.control-label-story-submission