Rework sidebar to use padding on the sidebar_content div This saves every header, list, paragraph etc having to sort out their own padding. The couple of instances where we want edge-to-edge can be acheived using the negative margin spacing utilities. The padding is based on $spacer so that it can be adjusted automatically via bootstrap configuration. This also means that we can remove many (mis-)uses of the browse-section class, which is only supposed to be for cases where there are multiple browse-sections in sequence (e.g. multiple nodes in the node history browse pages).
Use flexbox to position the close icon on the sidebars This ensures that the text and the close icon don't overlap, regardless of the length of the title. The title div grows to use all available space, while ensuring the text breaks if necessary to prevent it from pushing the close icon offscreen.
Fix lazy i18n lookups for browse error pages `I18n.t` doesn't support lazy lookups, whereas the equivalent rails `t` helper does. The code can also be simplified to avoid the lookup table. Fixes 1877
Use lazy translations where possible
Add close button to 404 page
Style browse 404 page and simplify wording, closes #53
There was no "Sorry not found" message for changesets so /browse/changeset/123456789 would return the message "Sorry, the with the id 123456789, could not be found.". It now says "Sorry, the changeset with the id 123456789, could not be found."
Rename views to rails 2 style names.