pull/168/head
Nathan Leniz 2015-03-09 18:45:21 +09:00
commit ac89c44064
5 changed files with 5 additions and 14 deletions

View File

@ -46,13 +46,4 @@ var storySchema = new mongoose.Schema({
}
});
module.exports = mongoose.model('Story', storySchema);
/*
author: {
userId: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User'
}
},
*/
module.exports = mongoose.model('Story', storySchema);

View File

@ -34,7 +34,7 @@
"<div class='row'>" +
"<div class='story-headline col-xs-12'>" +
"<a href='/stories/" + linkedName + "'>"
+ data[i].storyLink +
+ data[i].headline +
"</a>" +
"</div>" +
"<div class='col-xs-12'>" +

View File

@ -34,7 +34,7 @@
"<div class='row'>" +
"<div class='story-headline col-xs-12'>" +
"<a href='/stories/" + linkedName + "'>"
+ data[i].storyLink +
+ data[i].headline +
"</a>" +
"</div>" +
"<div class='col-xs-12'>" +

View File

@ -4,7 +4,7 @@
.input-group
input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our stories', autofocus)
span.input-group-btn
button.disabled#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search
button#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search
.spacer
#story-list

View File

@ -38,7 +38,7 @@
.negative-5
span Posted #{timeAgo}
span &thinsp;by&thinsp;
a(href="/" + author.username)@#{author.username}
a(href="/" + author.username) @#{author.username}
| &nbsp;·&nbsp;
a#reply-to-main-post Reply
.col-xs-12#reply-area