aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Roles/Extra.pm
Commit message (Collapse)AuthorAgeLines
* add a get_extra_field method to Extra roleStruan Donald2019-10-28-0/+20
| | | | | accepts name or code for finding the field. Useful for checking for individual open311 fields that don't have a value.
* [fixmystreet.com] Generalise emergency message script.Matthew Somerville2019-10-21-0/+2
|
* Add two new helper functions to Roles::Extra.Matthew Somerville2019-09-30-0/+50
| | | | For updating/removing an extra field.
* 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.