aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Add license header to files.Harald Eilertsen2018-06-171-0/+15
|
* Limit number of tags show on blog post pages too.Harald Eilertsen2014-12-131-7/+7
|
* Display most popular tags if no recent tags.Harald Eilertsen2014-12-121-0/+4
|
* Limit the number of tags we show.Harald Eilertsen2014-12-121-1/+16
| | | | | | | | Display the 50 most popular tags from the past 30 days. This should be a fair compromise between most popular and most recent, I hope. We may have to tune this further, but it's at least better than showing all. This is a fix for issue #56.
* Show only posts not listed on the sides in the front page center panel.v1.0.0Harald Eilertsen2014-02-151-5/+5
|
* Move the side_body stuff to the right sidebar.Harald Eilertsen2013-12-251-2/+7
|
* Clean up sidebar modules.Harald Eilertsen2013-12-251-11/+2
| | | | | | | | | | | | | | Rewrite the _sidebar_module partial to render only one module, and to not make any assumptions about the contents of a module. (Except that it has a title and a body.) Move the actual module logic into model classes, and use the ActiveModel magic to have it find it's own partial. Now we have the view logic for each module in it's own partial that in turn renders as part of the _sidebar_module partial. Only implementation this far is the blog-category module listing the latest blog entries within each category.
* Populate home page with blog entries.Harald Eilertsen2013-12-241-0/+12
| | | | | | I would like to just render the refinery/blog/index template for this, but I did not find a way to do it, so I copied it instead. May need to revisit this if upgrading to a new refinery or blog engine.
* Use blog category position to populate sidebars.Harald Eilertsen2013-12-231-6/+10
|
* Add sidebar_module partial and SidebarPostDecorator class.Harald Eilertsen2013-12-231-4/+9
| | | | | | | | | | | | | Also did some code cleanup in PagesControllerDecorator::populate_sidebars. The controller will now populate left and right sidebars (only left for now,) while the SidebarPostDecorator will provide the markup for each post that is to be shown in a sidebar. The plan is to further expand the system with other Sidebar- Decorators, so each item can be rendered using the same in the partial.
* Begin automatic filling of sidebars with content.Harald Eilertsen2013-11-141-0/+14
| | | | | List blog categories and 10 most resent posts in each category in the left sidebar.
* Initial commit.Harald Eilertsen2013-01-251-0/+0