aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeLines
* reworded 'duplicate' to 'related'Martin Wright2015-03-02-14/+14
| | | | when searching for similar requests
* add missing } and remove dup code from mergeMartin Wright2015-03-02-3/+0
|
* removed grey background from advice panelMartin Wright2015-03-02-2/+0
|
* remove empty declarationMartin Wright2015-03-02-4/+0
|
* complete new styling of new request pageMartin Wright2015-03-02-142/+167
|
* tweaks to styles and spacing of authority pageMartin Wright2015-03-02-3/+28
|
* made filters more semantic, stylingMartin Wright2015-03-02-3/+37
|
* Add in new partialsMartin Wright2015-03-02-3/+3
|
* WIP commit of public body page redesignMartin Wright2015-03-02-78/+160
|
* layout tweaks to select_authorityMartin Wright2015-03-02-2/+3
|
* move to: field to become a more obvious part of the formMartin Wright2015-03-02-73/+79
|
* Laid out select_authority screenMartin Wright2015-03-02-2/+3
|
* request_search_ahead_results will now longer flash up an empty conatiner divMartin Wright2015-03-02-15/+14
|
* refactored grid layout to solve problems with nested columnsMartin Wright2015-03-02-86/+87
|
* add margin to advice panels on mobileMartin Wright2015-03-02-0/+4
|
* Message preview screen now has an improved layoutMartin Wright2015-03-02-78/+120
|
* removed some padding set in _global_style.scssMartin Wright2015-03-02-9/+0
| | | | It's causing some cascace problems on the preview screen, I can't see what it does, but this commit might need reversing if it messes something up that I can't see
* improved styling of request_search_ahead_resultsMartin Wright2015-03-02-4/+20
|
* tidied up display of sidebarMartin Wright2015-03-02-2/+7
|
* tidied up language and help textMartin Wright2015-03-02-9/+6
|
* WIP styling of new request/make a request pageMartin Wright2015-03-02-12/+38
|
* Improved layout, moved help text to the right, so the form has less clutter. ↵Martin Wright2015-03-02-44/+50
| | | | TODO: Visual styling
* minor wording updates, results list now split in two columns on authority searchMartin Wright2015-03-02-9/+48
|
* Tweak wordingMartin Wright2015-03-02-2/+2
|
* remove inline cssMartin Wright2015-03-02-1/+1
|
* Change wording from 'select' to 'find'Martin Wright2015-03-02-6/+5
|
* Merge branch 'rails-3-develop' of ↵Louise Crow2015-02-24-6/+32
|\ | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
| * Fully prevent banned users editing their photoGareth Rees2015-02-24-0/+6
| |
| * Disable profile_photo file field if user is bannedGareth Rees2015-02-24-1/+3
| | | | | | | | | | | | | | | | | | | | Stops the user editing their profile photo if they have been banned. https://www.righttoknow.org.au/ reported that spam accounts were being created and even though the user accounts were getting banned, the spam user/bots couls still edit the about me field to propagate more spam. This prevents the profile photo being modified so that they cannot add offensive images.
| * Disable about_me text field if user is bannedGareth Rees2015-02-24-2/+6
| | | | | | | | | | | | | | Stops the user editing their about me if they have been banned. https://www.righttoknow.org.au/ reported that spam accounts were being created and even though the user accounts were getting banned, the spam user/bots could still edit the about me field to propagate more spam.
| * Add specs to AboutMeValidatorGareth Rees2015-02-24-0/+6
| |
| * Add User#banned?Gareth Rees2015-02-24-3/+11
| | | | | | | | | | | | | | - Redefined User#public_banned? to User#banned? - Add specs for User#banned? - Deprecate User#public_banned? - Replace use of User#public_banned? with User#banned?
* | Merge branch 'allow-custom-state-testing' into rails-3-developLouise Crow2015-02-24-10/+6
|\ \ | |/ |/|
| * Allow custom states to be tested.Louise Crow2015-02-09-10/+6
| | | | | | | | | | | | Since https://github.com/mysociety/alaveteli/commit/80ad2d4c31075ffc994e8c48ea25e6e3c486c364 no themes have been loaded by tests unless explicitly specified, so I think it's safe to remove the code added in https://github.com/mysociety/alaveteli/commit/3dfc53f6b82b3c5da79a4c710d45b859f61f4f5f
* | Merge branch '2134-fix-same-attribute-value-across-locales' into rails-3-developLouise Crow2015-02-23-80/+99
|\ \
| * | Refactor massive import method into smaller instance level methodsLouise Crow2015-02-23-89/+83
| | |
| * | Use standard spacing for hashes, new lines for commentsLouise Crow2015-02-23-2/+3
| | |
| * | Test localised value for import against existing localised valueLouise Crow2015-02-23-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the call to public_body.send would return the value for the default locale if no value was set in the current locale, meaning that translations for attributes that were the same as the attribute values in the default locale were not being loaded. Fixes #2134.
* | | Refactor showing the Make Request buttonGareth Rees2015-02-20-21/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code here was hard to follow. Now we have a cleaner path to decide whether to show the Make Request button or not. - Always show any notes associated with the body - If a request can be made to the body - Show any tag-specific notes that may affect the request - Show the Make Request button - If a request cannot be made to the body - Show the most relevant reason why a request cannot be made Added PublicBodyHelper#public_body_not_requestable_reasons to extract the logic of finding the reason a user can’t request out of the template
* | | Add a warning class for elements that need to be noticed.Louise Crow2015-02-20-2/+2
| | | | | | | | | | | | Make it a class as multiple warning elements on a page.
* | | Put warning in the form that you actually use to make a request.Louise Crow2015-02-20-6/+6
| | |
* | | Show a 'make a request' button in the new request process.Louise Crow2015-02-20-7/+13
| | | | | | | | | | | | | | | When we know the intent is to make a new request, make it possible to do straight from the list of authorities.
* | | Move logic to modelLouise Crow2015-02-20-13/+17
| | |
* | | Use correct method name in error.Louise Crow2015-02-20-1/+1
| | |
* | | Refactor common logicLouise Crow2015-02-20-15/+7
| | |
* | | Standard separation of methods.Louise Crow2015-02-20-1/+3
| | | | | | | | | | | | Comment above a method should apply to that method only
* | | Use new style when we do display a request link.Louise Crow2015-02-20-14/+15
| | | | | | | | | | | | | | | Move reasons for not having a link to a similar position to the link, after the rest of the text.
* | | Cover both not_requestable reasons.Louise Crow2015-02-20-2/+4
| | |
* | | make a request button will now appear next to each authority in search ↵Martin Wright2015-02-20-2/+9
| | | | | | | | | | | | results, part of #1526
* | | Merge branch 'rails-3-develop' of ↵Louise Crow2015-02-20-6/+12
|\ \ \ | | | | | | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop