aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
* Add encoding line to Ruby filesGareth Rees2017-01-19-0/+7
| | | | Fixes https://github.com/mysociety/alavetelitheme/issues/69.
* Fix incorrect conflict resolutionGareth Rees2016-12-14-2/+2
| | | | Missed including the <dt> in the conditional when resolving a merge conflict.
* Fix unclosed <dd> tagGareth Rees2016-12-14-1/+1
| | | | | - Added a closing slash - Fixed indentation
* Merge remote-tracking branch 'origin/master' into developGareth Rees2016-12-14-1001/+1227
|\
| * Add request reporting sections to the help/about pagelizconlan2016-12-13-1/+29
| |
| * Merge remote-tracking branch 'origin/add-text-on-request-closure'Gareth Rees2016-12-12-0/+9
| |\
| | * Add text on request closure.Louise Crow2016-11-24-0/+9
| | |
| * | Update model patch example to include the default_letter param overridelizconlan2016-12-05-0/+4
| |/
| * Add generic example version of each required help page.Louise Crow2016-04-26-875/+1080
| |
| * Convert to two-space indentation.Louise Crow2016-04-06-94/+94
| |
| * Make code customization commented out examples.Louise Crow2016-04-06-74/+54
| | | | | | | | Rather than having them be live code.
* | Update templates to match new ENABLE_ANNOTATIONS settingSteven Day2016-03-31-25/+33
|/ | | | | | Alaveteli has added a feature to turn off annotations and some of the views use this to hide certain bits of text, so this makes the theme do the same.
* Use new version of law_used_full methodGareth Rees2016-03-08-1/+1
|
* Use https for google fontsGareth Rees2015-09-07-1/+1
|
* Default typeface is now Source SansMartin Wright2015-08-21-1/+1
|
* add hero styling and background imageMartin Wright2015-08-07-4/+0
|
* add locale switcher from WDTK themeMartin Wright2015-08-07-0/+7
|
* Remove public body categories.Louise Crow2014-12-05-16/+0
| | | | Fixes #31.
* Merge branch 'sidebar-url-helpers' into developLouise Crow2014-10-09-10/+10
|\
| * Use url helpers in the sidebar.Louise Crow2014-09-09-10/+10
| | | | | | | | Generally good practice.
* | Merge branch 'add_example_template' into developLouise Crow2014-09-19-0/+3
|\ \
| * | Add example template to indicate that this needs to be customized/translated.Louise Crow2014-09-02-0/+3
| |/
* / Remove old template for help page.Louise Crow2014-08-26-9/+0
|/ | | | Superceded by help_out.html.erb
* Handle theme names that include a hyphenLouise Crow2014-08-05-1/+3
| | | | | Ruby doesn't allow method names with hyphens, which it interprets as a minus sign. Fixes #20.
* Preserve old logoLouise Crow2014-06-04-1/+1
| | | | Used when RESPONSIVE_STYLING set to false
* Use a protocol-less link for font loadingLouise Crow2014-06-02-1/+1
|
* Get rid of Bitter, get normal and bold and extended charsets for RobotoLouise Crow2014-06-02-1/+1
| | | | Bitter doesn't handle latin-ext or cyrillic so isn't much use to us here.
* Add Google fonts with some basic fallbacks.Louise Crow2014-06-02-0/+1
|
* Remove before_head_endLouise Crow2014-05-15-1/+0
|
* Update links to point to public body change request form.Louise Crow2014-03-04-1/+7
|
* Revert renaming of the logo.png fileno-logo-renameMark Longair2013-11-25-1/+1
|
* Move images out of /public and into the asset pipelineMark Longair2013-11-20-1/+1
| | | | | | | | | | An oddity here is that I had to rename logo.png to alaveteli-logo.png, or the version from the alaveteli repository was used after precompiling the assets. (This suggests that generation of precompiled assets with "rake assets:precompile" is picking the wrong version; i.e. not going through the asset path in reverse order.)
* Refer to the precompiled application.css, which includes custom.cssMark Longair2013-11-20-1/+1
|
* Switch to work with the feature/wip-switch-to-asset-pipeline branchMark Longair2013-11-11-1/+10
|
* Only set up FastGettext on initialization, even in development modeimprove-development-performanceMark Longair2013-09-16-15/+11
| | | | | | | | | | | | | | | | | Even on a very fast computer, there is a significant delay (a couple of seconds) in processing every request in development mode. This is because the configuration of FastGettext's paths for finding translations is done in a block passed to Rails.configuration.to_prepare, which causes the block to be run before every request by the Rails Reloader in developmetn mode. It seems to be work fine just running the FastGettext calls on initialization in development mode, however - customizations in the theme's locale-theme directory still have effect in development mode even after the reloader has reloaded classes before handling subsequent requests. So, I think this change should be safe. This commit introduces that change, having the effect that development mode is much more responsive.
* Merge branch 'master' into developLouise Crow2013-08-20-20/+15
|\
| * Update initial_request.text.erbJody McIntyre2013-07-17-1/+1
| | | | | | Use the raw helper so that characters like ' are not HTML escaped in outgoing email messages. This is already done in the initial_request.text.erb shipped with Alaveteli.
| * Configuration is now AlaveteliConfigurationMark Longair2013-04-10-2/+2
| |
| * Since mailer views are plain text, they should be text.erbMark Longair2013-04-10-0/+0
| | | | | | | | | | Thanks to Henare Degan for pointing this out in his theme upgrade document.
| * Explicitly add a survey method to UserControllerMark Longair2013-04-09-0/+4
| | | | | | | | | | | | | | | | | | | | Previously the survey.rhtml method was rendered by default if no action matching 'survey' was found in the controller, but this doesn't seem to be the case with some configurations. This is rather unsatisfactory, in that we haven't found documentation of any change that might cause this different behaviour, but the pragmatic solution is to just to add the empty survey method and move on.
| * Update the routing for Rails 3Mark Longair2013-04-09-8/+3
| |
| * Rename the .rhtml files to .html.erb for Rails 3Mark Longair2013-04-09-0/+0
| |
| * Fix the "can't modify frozen array" error with Rails 3Mark Longair2013-04-09-1/+1
| |
| * Replace Dispatcher.to_prepare with Rails.configuration.to_prepareMark Longair2013-04-09-8/+4
| |
* | Fix typo.Louise Crow2013-07-23-2/+2
|/
* Merge remote-tracking branch ↵use-with-alaveteli-0.9use-with-alaveteli-0.8use-with-alaveteli-0.7use-with-alaveteli-0.6.9use-with-alaveteli-0.6.8use-with-alaveteli-0.6.7Louise Crow2012-10-04-1/+1
|\ | | | | | | 'openaustralia_github/help_advanced_search_link' into develop
| * Make advanced search link in help sidebar point at advancedsearch rather ↵Matthew Landauer2012-10-04-1/+1
| | | | | | | | than search
* | Use Configuration rather than MySociety::Config directlyMatthew Landauer2012-10-02-2/+2
|/
* Add default value for INCOMING_EMAIL_DOMAIN so an error isn't thrown in the ↵use-with-alaveteli-0.6.6Louise Crow2012-09-18-21/+21
| | | | case where this isn't defined yet.
* Use email domain from configuration rather than hardcoded domainMatthew Landauer2012-09-18-2/+2
|