aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md17
-rw-r--r--lib/views/help/_why_they_should_reply_by_email.html.erb3
-rw-r--r--lib/views/help/help_out.rhml9
3 files changed, 10 insertions, 19 deletions
diff --git a/README.md b/README.md
index 785b664..ebf8b4b 100644
--- a/README.md
+++ b/README.md
@@ -6,21 +6,18 @@ This is a "hello world" type theme package for Alaveteli.
The intention is to support simple overlaying of templates and
resources without the need to touch the core Alaveteli software.
-Typical usage should be limited to:
+Typical usage should be limited to that described in the [documentation](http://alaveteli.org/docs/customising/themes/):
- * Putting CSS-based customisations in `public/stylesheets/custom.css`
- * Creating your own versions of non-functional pages (like "about
- us", at `lib/views/help/about.rhtml` -- and/or localised versions at
- lib/views/help/about.es.rhtml)
+## To install:
-To install::
+In the Alaveteli `general.yml` configuration file change the default mysociety theme repository to your theme repository in the [`THEME_URLS`](http://alaveteli.org/docs/customising/config/#theme_urls) setting:
- ./script/plugin install git://github.com/mysociety/alavetelitheme.git
+ THEME_URLS:
+ - 'git://github.com/YOUR_GITHUB_USERNAME/YOUR_THEME_NAME.git'
-Look in the lib/ folder of the plugin to see how the overrides happen.
+You can then switch the theme the application is using:
-Note that the `install.rb` plugin point sets up a symlink to include
-local resource files within the Rails `public/` directory.
+ bundle exec rake themes:install
Copyright (c) 2011 mySociety, released under the MIT license
diff --git a/lib/views/help/_why_they_should_reply_by_email.html.erb b/lib/views/help/_why_they_should_reply_by_email.html.erb
new file mode 100644
index 0000000..faaa2b2
--- /dev/null
+++ b/lib/views/help/_why_they_should_reply_by_email.html.erb
@@ -0,0 +1,3 @@
+The law, the Ministry of Justice and the Information Commissioner all say that an email is sufficient (<a href="<%= help_page_url %>#full_address">more details</a>).
+
+At the bottom of this page, write a reply to the authority explaining this to them.
diff --git a/lib/views/help/help_out.rhml b/lib/views/help/help_out.rhml
deleted file mode 100644
index 6744a27..0000000
--- a/lib/views/help/help_out.rhml
+++ /dev/null
@@ -1,9 +0,0 @@
-<% @title = "Help out" %>
-
-<%= render :partial => 'sidebar' %>
-
-<h1>Help us!</h1>
-
-<p>This is a custom "help out" page, showing how you can add new pages to Alaveteli from a theme. There's no navigation to it, though! You'd need to add that in your own custom <code>_sidebar.rhtml</code></p>
-
-