aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/public_body_helper.rb
Commit message (Collapse)AuthorAgeLines
* Fix failure to capitalise when non category tag precedes categories.Louise Crow2015-04-07-3/+4
| | | | Thanks to @RichardTaylor for reporting.
* Merge branch '59-localised-authority-links' into rails-3-developLouise Crow2015-03-05-0/+26
|\ | | | | | | | | Conflicts: app/views/public_body/show.html.erb
| * Use routing helper to generate localised urls.Louise Crow2015-03-05-0/+26
| |
* | Don't show two 'Make a request' buttons if there's no contact info.Louise Crow2015-03-02-1/+1
|/
* Refactor showing the Make Request buttonGareth Rees2015-02-20-0/+35
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