Commit Graph

8 Commits

Author SHA1 Message Date
Javi Martín
5f92252054 Fix exception using locales with no help images
In commit 905ac48bb we activated exceptions when assets were not found,
in order to detect places where we were trying to load non-existent
images.

We got an exception for that reason: we were loading images based on the
current locale, but for some locales there was no images.

We're now using fallbacks and loading another image when the original
one isn't available.

Note we're copying the English images to images with a generic name for
the case where there's no fallback with an image. We're copying the
files instead of using symbolic links to make sure they can be
overwritten independently in other CONSUL installations.

Also note we're updating the HTML so the section gets the ID instead of
the header. That way the system test is simple.
2021-05-29 15:05:29 +02:00
decabeza
42d0f471ee Updates i18n keys and images folder 2018-01-30 19:10:48 +01:00
decabeza
127ae893fc replaces polls and budgets help icons to add consistency 2017-10-13 18:55:14 +02:00
decabeza
c6b61b6ca5 minimises section header space and main consul logo 2017-09-05 11:45:33 +02:00
decabeza
6e58a321fe includes help sections to budgets 2017-08-31 14:01:37 +02:00
decabeza
ff66909cd5 includes help sections to legislation processes 2017-08-31 13:50:40 +02:00
decabeza
7a1a18b962 improves icons for help sections 2017-08-30 18:11:29 +02:00
decabeza
4e7e1410e9 includes help header and footer on debates and proposals 2017-08-29 18:46:10 +02:00