| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Attempting to make the import faster when there are lots of public authorities in the database already
|
| |
|
|
|
|
|
|
|
| |
7a3b462f41321034cbdd2c83707f739a442e83c6.
The string with the unsubstituted variable pattern was being made
available for translation, instead of the translatable version.
|
|\ |
|
| |
| |
| |
| | |
It's required in [PublicBody#type_of_authority]( https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/models/public_body.rb#L343-L347)
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now that the form submits to a URL containing the parent object’s id
these are no longer required
See:
- 259a0fd588e198d2a826ef4ac09284c610005387
- d5c7e08d58dc5ad52f16eccd9c456543503e4360
|
| |
| |
| |
| |
| |
| | |
Easier to check against the assigned variable, but the spec still fails
because an internal error is raised if the rule is not associated with
a User or InfoRequest
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use resource-oriented form style, building against the censor rule
instance created in the controller
- Use the URL assigned by the controller based on what the censor rule
is being created against
- Use the new route for the buttons directing the admin to the form
- Use consistent styling for button labelling
- Use each instead of for
|
| |
| |
| |
| |
| |
| | |
- Add linebreaks to break up sections
- Remove unused parentheses
- Use unless instead of if !
|
| |
| |
| |
| |
| |
| | |
Direct the (re-rendered) form at the correct route for the association
(or use the generic route if the rule is being created for some other
reason)
|
| |
| |
| |
| |
| | |
Build the CensorRule against the object that is found by an additional
parameter (either :info_request_id or :user_id)
|
| |
| |
| |
| |
| | |
Direct the form at the correct route for the association (or use the
generic route if the rule is being created for some other reason)
|
| |
| |
| |
| |
| | |
Build the CensorRule against the object that is found by an additional
parameter (either :info_request_id or :user_id)
|
| | |
|
|\ \
| | |
| | |
| | | |
ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Was initially counting the number of headings rather than the number
of categories inside each heading.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make the forms for editing categories and category headings more uniform
with other admin pages
- Put the dangerous actions in a well
- Remove large well for returning to the index page
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
rails-3-develop
|
| | | |
| | | |
| | | |
| | | | |
PublicBodyCategories
|
| |/ /
| | |
| | |
| | | |
interface
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The chevron didn't illustrate that the heading had any category
children. The app uses the badge pattern elsewhere.
Adds minor style improvements:
- Pad erb tags
- Use each instead of for
Fixes https://github.com/mysociety/alaveteli/issues/1962
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Not clear to the user why the form field is sometimes present and
sometimes not present.
The Category tag field may only be modified if authorities have not yet
been assigned to the Category. This commit explains this and disables
the field if this is true.
|
| |
| |
| | |
Also use double quotes rather than string escaping
|
| |
| |
| |
| |
| | |
On an unsuccessful update AdminPublicBodyHeadingsController and
AdminPublicBodyCategoriesController #update should render the #edit
action.
|
|/
|
|
|
|
|
| |
On a successful update AdminPublicBodyHeadingsController and
AdminPublicBodyCategoriesController #update should redirect to the #edit
action rather than simply rendering the ‘edit’ template.
Fixes https://github.com/mysociety/alaveteli/issues/1977
|
|
|
|
|
| |
962357c tidied the translation but left the translation call (`_()`)
around the variable rather than the string literal.
|
|
|
|
|
|
| |
Further work on redesigning the request process [1] will reword these
lines, so don't make the translators do work for no gain.
[1] https://github.com/mysociety/alaveteli/issues/1526
|
|
|
|
|
|
|
| |
Further work on redesigning the request process [1] will reword these
lines, so don't make the translators do work for no gain.
[1] https://github.com/mysociety/alaveteli/issues/1526
|
|\ |
|
| |
| |
| | |
Prevents the pagination being squashed up against the window edge
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Move the “Can’t find an authority” actions on the
/select_authority page to the right of the search
results
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Make it wider
- Add a placeholder
- Translate placeholder and title text
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Align indentation
- Use named path for form url
- Use %Q() to avoid string escaping
- Use :anchor option to link to help page section
- Use symbols for form tag names
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Clicking a search result now takes the user directly to the authority
show page.
Removes the step numbers from the headers as the show page interrupts
the flow and seems pointless to add workarounds in public_body/show just
for this.
|
|\ \ \ |
|
| | |/
| |/| |
|
|/ /
| |
| |
| | |
Shouldn't really 404 on an important/accessible URL
|
|\ \ |
|
| |/
| |
| | |
These will be moved to whatdotheyknow-theme
|
|\ \
| |/
|/|
| | |
rails-3-develop
|
| |
| |
| |
| |
| | |
Introduced in 4f501309ade230f65f4ba45e1d0161e89587d755 but no longer
needed as we don't proxy the admin interface.
|