Improve news page layout

Fix forums unread icon
Fix double linebreaks in BBcode
Increase colour darkness
This commit is contained in:
Luke Barratt 2014-04-29 21:02:20 +01:00
parent b709d11783
commit 5ed4dd1891
15 changed files with 73 additions and 26 deletions

View file

@ -6,7 +6,7 @@ class ArticlesController < ApplicationController
end
def news_index
@news = Article.with_comments.ordered.limited.nodrafts.onlynews
@news = Article.with_comments.ordered.nodrafts.onlynews.limit(10)
@categories = Category.ordered.domain(Category::DOMAIN_NEWS)
@nobody = true
end