aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Roles/Extra.pm
Commit message (Collapse)AuthorAgeLines
* Add Extra->get_extra_field_valueDave Arter2017-08-31-0/+16
| | | | Allows easy display of Open311 field values for problems in templates
* Improve display of category extra data in admin.Matthew Somerville2016-09-09-20/+8
| | | | Allow get_extra_metadata to return all the data with no argument.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-5/+2
| | | | And create default cobrand class without all of Moose.
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-0/+193
Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.