joomla/joomla-cms — pull request #4406 by nternetinspired (2014-09-30 16:53:19+00:00)
Title: Block party

# A premise, I promise
I think in order to facilitate ease-of-use, readability and maintenance related, and dependant, html should be rendered in one place. This is why we have layouts, after all.

## Paints go in a paintbox, pencils in a pencil tin.
Currently, the interdependent markup for the article infoblock is scattered across 8 files. The parent block.php defines the content as a document list and each child element contains the document definition.

The problem? a `
` can not live a life independent of a `

`, so these structural markup elements should live together.

### Once upon a time…
A young prince (not me) decided that his document information would be better served as a list of items and set out upon a great and noble quest. However, upon reaching the hitherto little-trod realm of `/layouts/joomla/content/info-block` this young prince did discover he must slay(override) not 1, but 8 fearsome dragons(layout files). This brought great sadness upon our hero and he was avowed to forge, with great cunning, a plan such that none should have to endure these trials again.

:hocho: :dragon:

## TL:DR;
This PR pulls related markup from the 8 infoblock overrides into the parent, infoblock.php. This means that any wishing to change the markup, to an unordered list or simple paragraph for example, can do so with just one override.

### Testing
Apply patch and check that neither appearance or markup of article info block is changed.