aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
Commit message (Collapse)AuthorAgeLines
* Minor tidy upGareth Rees2015-04-27-16/+26
|
* Use GET for search forms, not POST.Louise Crow2015-04-10-3/+3
| | | | | | | | | | Now that we use global CSRF authenticity checks, searches were logging logged-in users out as the form is an HTML form, not a Rails-generated form with a CSRF token. So form submission raised an InvalidAuthenticityToken error and reset their session. We could generate the form in Rails, but we also want to minimise the number of non-logged in people who have a session cookie, so that varnish can cache pages extensively. So we don't want to put the CSRF token for the search form in everyone's session.
* Wrap current filter in span for styling hookGareth Rees2015-03-27-1/+1
|
* Make sure fields with errors are highlighted in the default locale.Louise Crow2015-03-18-0/+12
|
* Fix translating Public Body HeadingsGareth Rees2015-03-18-30/+48
| | | | | Fixes submission of form containing both existing and new translations
* Fix translating Public Body CategoriesGareth Rees2015-03-18-36/+54
|
* Fix translating Public BodiesGareth Rees2015-03-18-4/+23
|
* Merge branch '59-localised-authority-links' into rails-3-developLouise Crow2015-03-05-1/+1
|\ | | | | | | | | Conflicts: app/views/public_body/show.html.erb
| * Use routing helper to generate localised urls.Louise Crow2015-03-05-1/+1
| |
| * Remove 'html' param.Louise Crow2015-03-05-1/+1
| | | | | | | | | | There's only one call to this function in the rest of the code. That has 'html' set to true.
* | Use new styling for batch request sent panel.Louise Crow2015-03-03-15/+54
| |
* | Make notice about override work with batch requests.Louise Crow2015-03-03-2/+2
| | | | | | | | They don't have a public body, so use the config param directly.
* | Restore text from 0870c537bdd910091b604e0e0c1f90b7ea57ac06.Louise Crow2015-03-02-1/+2
| |
* | Remove duplicate notes field.Louise Crow2015-03-02-3/+1
| |
* | Make unsubscribe a button as it is elsewhere on this page.Louise Crow2015-03-02-6/+5
| |
* | Don't display stepwise_make_request unless there's some content for it.Louise Crow2015-03-02-1/+3
| |
* | Don't show two 'Make a request' buttons if there's no contact info.Louise Crow2015-03-02-1/+1
| |
* | repaired some errors introduced with mergeMartin Wright2015-03-02-19/+18
| |
* | tidy up after merge added missing </div>Martin Wright2015-03-02-27/+20
| | | | | | | | remove duplicate request button
* | Remove eir header, only display h2 if it has contents.Louise Crow2015-03-02-5/+4
| |
* | Center each share link on it's own line on smaller screens.Louise Crow2015-03-02-2/+2
| |
* | Restore missing whitespace.Louise Crow2015-03-02-1/+1
| |
* | Don't add any elements to page if there are no results.Louise Crow2015-03-02-3/+4
| |
* | reworded 'duplicate' to 'related'Martin Wright2015-03-02-14/+14
| | | | | | | | when searching for similar requests
* | complete new styling of new request pageMartin Wright2015-03-02-142/+158
| |
* | made filters more semantic, stylingMartin Wright2015-03-02-3/+5
| |
* | Add in new partialsMartin Wright2015-03-02-3/+3
| |
* | WIP commit of public body page redesignMartin Wright2015-03-02-60/+88
| |
* | move to: field to become a more obvious part of the formMartin Wright2015-03-02-73/+75
| |
* | 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-77/+80
| |
* | Message preview screen now has an improved layoutMartin Wright2015-03-02-51/+61
| |
* | improved styling of request_search_ahead_resultsMartin Wright2015-03-02-1/+1
| |
* | tidied up language and help textMartin Wright2015-03-02-9/+6
| |
* | WIP styling of new request/make a request pageMartin Wright2015-03-02-6/+8
| |
* | Improved layout, moved help text to the right, so the form has less clutter. ↵Martin Wright2015-03-02-44/+46
| | | | | | | | TODO: Visual styling
* | minor wording updates, results list now split in two columns on authority searchMartin Wright2015-03-02-8/+10
| |
* | 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
|/
* 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 User#banned?Gareth Rees2015-02-24-1/+1
| | | | | | | - 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?
* Refactor showing the Make Request buttonGareth Rees2015-02-20-21/+13
| | | | | | | | | | | | | | | 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
* 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/+12
|
* 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-1/+4
| | | | results, part of #1526