aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
Commit message (Collapse)AuthorAgeLines
* 3093f5d97d89dfa3518babe00d3aefea9cde15ad contained a reversion for WDTK - ↵Louise Crow2012-11-20-0/+7
| | | | where due to the proxied admin interface, we can't rely on a shared session between front end and admin interface requests. So show the admin bar for all superusers.
* Remove unused method.Louise Crow2012-11-08-19/+0
|
* Fix bug where errors were rendered like: <ul>["<li>Please enter a ↵James McKinney2012-11-01-1/+1
| | | | subject</li>"]</ul>
* Only reference the admin stylesheet if we're actually going to show the ↵Louise Crow2012-11-01-5/+1
| | | | admin navbar.
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+1
|
* Show the admin navigation bar when browsing the main site. Fixes #512Seb Bacon2012-06-27-0/+4
|
* Reformat function so it doesn't confuse gettextSeb Bacon2012-06-14-1/+3
|
* Factor out `contact_from_name_and_email` so it can be used from anywhere in ↵Seb Bacon2012-05-25-0/+3
| | | | the app.
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-0/+14
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-7/+7
| | | | wombleton:feature/440_sparkly_admin_css)
* Make HTML ids unique even with multiple localesRobin Houston2011-09-08-2/+6
| | | | | | In situations where a block of HTML is generated for each enabled locale, we need to include the locale name in generated ids otherwise the id will not be unique within the document, resulting in invalid HTML.
* Some i18n strings for homepage, and fix up more HTML parsing test failuresSeb Bacon2011-09-01-0/+15
|
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-1/+4
| | | | substitution in gettext strings.
* get language names from a comprehensive list, rather than just hard-code a ↵Seb Bacon2011-07-07-0/+5
| | | | handful
* The error messages are clearly designed to be used *without* theRobin Houston2011-06-23-10/+17
| | | | | | field name being prepended, so change the ApplicationHelper::foi_error_messages_for method to not prepend the field name, and add the field name back to the two messages from which we previously removed it.
* Remove old commented parts.Francis Irving2010-09-06-3/+0
|
* Change the foi_cache to be explicit everywhere, so Interlock can use theFrancis Irving2010-09-06-2/+19
| | | | rails cache
* Use our algorithm for view cache fragments tooFrancis Irving2010-05-19-0/+6
|
* Remove unused function.francis2008-07-09-6/+1
|
* Remove escaping of HTML from text alert emails.francis2008-05-27-2/+4
|
* Change from acts_as_solr to acts_as_xapianfrancis2008-04-24-3/+16
|
* Email alerts for tracking a particular request.francis2008-04-03-3/+4
|
* Remove unused function.francis2008-03-19-19/+1
|
* Highlightingfrancis2008-03-06-1/+26
|
* Redirect to appropriate messages for most of the classification options.francis2008-01-29-7/+1
|
* Say it is development site on about page.francis2008-01-21-1/+6
|
* Commentsfrancis2008-01-14-2/+2
|
* Make login have signin and signup on same page, side by side.francis2007-11-07-2/+1
|
* Make "rake spec:check" not check views or helpers, as I don't thinkfrancis2007-11-01-26/+6
| | | | | | | | | we need specialist test files for them (and even if I did they are screwed, as they can't call functions in controllers/views/routes from the test framework). Move various link to URL helpers into their own file, for ease of calling from views and controllers. Document Spec directory in top level README.
* Search history of public body short names in URLs and redirect from that.francis2007-10-30-12/+8
|
* Use nicer URLs for user names with funny characters in them.francis2007-10-30-2/+13
|
* Name named routes consistentlyfrancis2007-10-30-4/+6
|
* Evil CSS speech bubble to try and make the FOI request page make more sense.francis2007-10-24-2/+9
|
* Added some named routeslouise2007-10-16-1/+9
|
* Display dates more nicely.francis2007-10-09-1/+6
|
* Some cosmetic changes to code.francis2007-09-12-1/+8
|
* Do HTML 4.0 output in a nicer wayfrancis2007-09-05-6/+0
|
* Fix text of error messages.francis2007-08-23-0/+27
|
* Make it HTML 4.0 strict.francis2007-08-23-0/+7
|
* Default Rails gumph.francis2007-08-01-0/+3