aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general
Commit message (Collapse)AuthorAgeLines
* 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.
* Show a 'make a request' button in the new request process.Louise Crow2015-02-20-3/+3
| | | | | When we know the intent is to make a new request, make it possible to do straight from the list of authorities.
* Merge branch 'hotfix/0.20.0.7' into rails-3-developLouise Crow2015-02-05-3/+3
|\ | | | | | | | | Conflicts: config/initializers/alaveteli.rb
| * Do not allow requests for search results after the first 500Louise Crow2015-02-03-3/+3
| | | | | | | | | | | | | | The pages for these search results are extremely slow to load. This is not an ideal solution by any means. Really we want to dig into why high offsets are so slow, and whether there's anything we can do to fix that.
* | Merge branch '2032-extract-body-show-partials' into rails-3-developGareth Rees2015-01-08-0/+1
|\ \
| * | Extract rss_feed in to its own partialGareth Rees2015-01-08-0/+1
| | |
* | | Merge branch 'hotfix/0.20.0.2' into rails-3-developLouise Crow2015-01-07-2/+2
|\ \ \ | |/ / |/| / | |/
| * Sanitize the blog contents0.20.0.2Louise Crow2014-12-22-2/+2
| |
* | Don't display specific error messages in production.Louise Crow2014-12-05-4/+1
|/
* Reword View Requests to Browse Requests in navGareth Rees2014-08-21-2/+4
| | | | | | | User testing highlighted that it was easy to mistake "View Requests" for a Facebook-style wall rather than the list of all requests. [1] [1] https://github.com/mysociety/alaveteli/issues/1505
* Don't display locale options when there's only one.Louise Crow2014-06-30-1/+1
| | | | Fixes bug introduced in 039fb5cc0f2965346ef23a4ba1b9d20f6cf73805
* Merge branch 'issues/1496-main-banner-cta-copy' into rails-3-developGareth Rees2014-06-04-1/+1
|\
| * Reword CTA copy on frontpage bannerGareth Rees2014-05-22-1/+1
| | | | | | | | | | In user testing no one clicked "Start Now" to make a request. All users clicked "Make a Request" in the main nav, so lets try that here.
* | Use each instead of forGareth Rees2014-05-23-2/+2
| |
* | Add comma delimiters to request numbers on the front pageGareth Rees2014-05-23-3/+6
|/ | | Originally implemented in 67a8be372ffcbe943ce33c2e55c9a560588ef6fe but lost over time.
* More rubyish syntaxLouise Crow2014-05-09-2/+2
|
* Fixed widths for IE <= 7 as it doesn't use box-modelLouise Crow2014-04-24-0/+4
| | | | | | Conflicts: app/assets/stylesheets/responsive/_utils.css
* Generate separate stylesheet for older IE browsers.Louise Crow2014-04-24-1/+7
| | | | | | As described in http://jakearchibald.github.io/sass-ie/ Set the width of various layout elements for older IE versions. Add padding between columns in ems not rems for IE8
* Use responsive stylesheets based on feature flag.Louise Crow2014-04-24-19/+38
|
* Add alternative header and footer templates.Louise Crow2014-04-24-0/+80
| | | | These make markup changes required by the responsive styling.
* Only display result_section divs when results exists.Louise Crow2014-04-24-14/+18
| | | | Should make the styling more straightforward.
* Order page elements consistently with other pages.Louise Crow2014-04-22-16/+15
| | | | | | | 'right_column' appears after content it will be to the right hand side of on other pages. It doesn't matter to the current stylesheet, which floats it anyway, but is easier to handle in responsive css if the markup is consistent.
* use fancybox-rails to provide fancyboxGareth Rees2014-04-07-1/+1
| | | | | | http://rubygems.org/gems/fancybox-rails Provides better asset pipeline integration.
* Only pass InfoRequestEvent to _request_listing_via_event templateLouise Crow2014-03-17-1/+1
| | | | The InfoRequest is always the one associated with the event.
* Use escape_javascript on translated strings in Javascript stringsMark Longair2014-01-24-5/+5
| | | | | | The Welsh translations of some of these words contain single quotes; escape them in the view so that the Javascript doesn't contain syntax errors.
* Merge branch 'feature/display-social-media-when-configured' into rails-3-developLouise Crow2013-12-09-0/+4
|\
| * Only show the blog if a BLOG_FEED is configured.Louise Crow2013-12-09-0/+2
| |
| * Only show the twitter link if an account is configured.Louise Crow2013-12-09-0/+2
| |
* | Fix the link to the fancybox CSSMark Longair2013-12-05-1/+1
|/
* Merge remote-tracking branch 'origin/merged-rails-3-2-assset-pipeline' into ↵Louise Crow2013-11-29-11/+47
|\ | | | | | | | | | | | | rails-3-develop Conflicts: Gemfile.lock
| * Merge branch 'feature/rails-3-2-upgrade-spike' into ↵Mark Longair2013-11-29-1/+38
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/switch-to-asset-pipeline Conflicts: Gemfile.lock app/assets/images/admin-theme/ui-bg_flat_0_aaaaaa_40x100.png app/assets/images/admin-theme/ui-bg_flat_55_fbf9ee_40x100.png app/assets/images/admin-theme/ui-bg_flat_65_ffffff_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_cccccc_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_dadada_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_e6e6e6_40x100.png app/assets/images/admin-theme/ui-bg_flat_75_ffffff_40x100.png app/assets/images/admin-theme/ui-bg_inset-soft_95_fef1ec_1x100.png app/assets/images/admin-theme/ui-icons_222222_256x240.png app/assets/images/admin-theme/ui-icons_2e83ff_256x240.png app/assets/images/admin-theme/ui-icons_454545_256x240.png app/assets/images/admin-theme/ui-icons_888888_256x240.png app/assets/images/admin-theme/ui-icons_cd0a0a_256x240.png app/assets/javascripts/admin.js app/assets/javascripts/admin/jquery-ui.min.js app/assets/javascripts/application.js app/assets/javascripts/jquery-ui.min.js app/assets/javascripts/jquery.flot.errorbars.min.js app/assets/javascripts/jquery.flot.min.js app/assets/javascripts/stats.js app/assets/stylesheets/application.css app/assets/stylesheets/fonts.scss app/views/general/_stylesheet_includes.html.erb app/views/layouts/admin.html.erb app/views/layouts/default.html.erb app/views/public_body/statistics.html.erb config/application.rb config/environments/development.rb
| | * In excerpt, radius is now an option.Louise Crow2013-11-12-1/+1
| | | | | | | | | | | | Passing it as an argument is deprecated.
| | * Fix the inclusion of CSS in output for zip file downloadMark Longair2013-11-08-2/+2
| | |
| | * Add the IE 6 and IE 7 compatability CSS to the asset pipelineMark Longair2013-09-30-2/+2
| | |
| | * Move to serving main.css from the asset pipelineMark Longair2013-09-30-2/+2
| | |
| | * Fix the links to the Twitter and RSS iconsMark Longair2013-09-30-3/+3
| | |
| | * WiP: fix more stylesheet linksMark Longair2013-09-30-1/+1
| | |
| | * Move header to partial to make it easier to customize.Louise Crow2013-09-30-0/+37
| | |
| * | Remove jquery-ui; in a later commit we'll add it back via the gemMark Longair2013-11-26-1/+0
| | | | | | | | | | | | | | | | | | | | | The intention is to stop including our own custom build of jquery-ui but instead use the jquery-ui-rails gem, which works well with the asset pipeline. This commit should remove all traces of the old download of jquery-ui.
| * | Don't include the main stylesheet directly; it's now in application.cssMark Longair2013-11-26-1/+1
| | |
| * | Fix asset inclusion where THEME_URLS is emptyMark Longair2013-11-26-1/+1
| | |
| * | Fix the inclusion of CSS in output for zip file downloadMark Longair2013-11-19-2/+2
| | |
| * | Add the IE 6 and IE 7 compatability CSS to the asset pipelineMark Longair2013-11-19-2/+2
| | |
| * | Move to serving main.css from the asset pipelineMark Longair2013-11-19-2/+2
| | |
| * | Fix the links to the Twitter and RSS iconsMark Longair2013-11-19-3/+3
| | |
| * | Fix more stylesheet links for the asset pipelineMark Longair2013-11-19-1/+1
| | |
* | | Make fragment caching dependent on a config variable.Louise Crow2013-11-25-1/+1
| | |
* | | Restore caching for five minutes to frontpage.Louise Crow2013-11-25-1/+2
| | |
* | | Move getting recent requests into a helper method.Louise Crow2013-11-25-0/+1
| | |
* | | Move getting popular bodies into a model method.Louise Crow2013-11-25-2/+3
|/ /