aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/common
Commit message (Collapse)AuthorAgeFilesLines
* Only render sidebar modules if present.Harald Eilertsen2013-12-231-1/+2
|
* Use blog category position to populate sidebars.Harald Eilertsen2013-12-232-2/+2
|
* Add read more link to sidebar items.Harald Eilertsen2013-12-231-0/+1
|
* Move markup from decorator to template.Harald Eilertsen2013-12-231-3/+3
| | | | | Note to self, use model decorators to massage model data, but leave the markup to the views where it belong.
* Add sidebar_module partial and SidebarPostDecorator class.Harald Eilertsen2013-12-232-8/+11
| | | | | | | | | | | | | 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-1/+8
| | | | | List blog categories and 10 most resent posts in each category in the left sidebar.
* Basic simple styling.Harald Eilertsen2013-10-202-0/+6