| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
When more than one photo has been uploaded, allow each one to
be published/not independently.
|
| |
|
|
|
|
| |
Allows easy display of Open311 field values for problems in templates
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Calling the function 'translate' causes gettext-extract to add the
string to the .po file. Also, we no longer need an admin 'updated'
message as the main form has its own success message.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a `translation_for` method and an `add_transation` method to
Translatable to help hide the details when editing and listing
translations.
`translation_for` returns all translations if only passed a column or a
single translation if passed with a column and a language.
`add_translation` will add, or update, a translation if passed in the
column, language and string.
|
|
|
|
|
|
| |
As category is used both for display and as a link between Problem and
Contact tables, add `category_display` for use whenever a category is
displayed.
|
| |
|
|
|
|
|
|
| |
When the category or state changes, the list of available templates
updates (previously it was frozen at what the category was on page
load, and didn't care about the state).
|
| |
|
|
|
|
| |
Allow get_extra_metadata to return all the data with no argument.
|
| |
|
|
|
|
| |
And create default cobrand class without all of Moose.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|