mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-11 14:44:17 +02:00
Merge pull request #15 from bwestmoreland/master
add bootstrap class 'unstyled' to remove bullet points in article list
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
var mongoose = require('mongoose')
|
||||
, env = process.env.NODE_ENV || 'development'
|
||||
, config = require('../../config/config')[env]
|
||||
, Schema = mongoose.Schema
|
||||
, Schema = mongoose.Schema;
|
||||
|
||||
/**
|
||||
* Article Schema
|
||||
@@ -26,6 +26,6 @@ ArticleSchema.statics = {
|
||||
load: function (id, cb) {
|
||||
this.findOne({ _id : id }).populate('user').exec(cb);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
mongoose.model('Article', ArticleSchema)
|
||||
mongoose.model('Article', ArticleSchema);
|
||||
@@ -1,5 +1,5 @@
|
||||
<section data-ng-controller="ArticlesController" data-ng-init="find()">
|
||||
<ul>
|
||||
<ul class="unstyled">
|
||||
<li data-ng-repeat="article in articles">
|
||||
<span>{{article.created | date:'medium'}}</span> /
|
||||
<span>{{article.user.name}}</span>
|
||||
|
||||
Reference in New Issue
Block a user