aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators/models
Commit message (Collapse)AuthorAgeFilesLines
* Add license header to files.Harald Eilertsen2018-06-172-0/+30
|
* Allow customization of number of sidebar items for each category.Harald Eilertsen2014-03-021-1/+1
|
* Add sidebar_position field to blog categories.Harald Eilertsen2013-12-231-0/+3
|
* Move markup from decorator to template.Harald Eilertsen2013-12-231-8/+1
| | | | | Note to self, use model decorators to massage model data, but leave the markup to the views where it belong.
* Title of sidebar entry links to full blog post.Harald Eilertsen2013-12-231-1/+1
|
* Add sidebar_module partial and SidebarPostDecorator class.Harald Eilertsen2013-12-231-0/+18
| | | | | | | | | | | | | 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.
* Initial commit.Harald Eilertsen2013-01-251-0/+0