You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Gareth Rees 84ce87cb19 Remove duplication of action bar button styles 5 years ago
assets Remove duplication of action bar button styles 5 years ago
lib Add encoding line to Ruby files 5 years ago
locale-theme/en Remove example override 5 years ago
spec Rspec uses expect, not assert 5 years ago
.gitignore initial commit 11 years ago
MIT-LICENSE initial commit 11 years ago
README.md Use spec format for consistency with Alaveteli. 7 years ago
Rakefile initial commit 11 years ago
init.rb Add encoding line to Ruby files 5 years ago
install.rb Add encoding line to Ruby files 5 years ago
logo.png Revert renaming of the logo.png file 8 years ago
post_install.rb Add encoding line to Ruby files 5 years ago
uninstall.rb Add encoding line to Ruby files 5 years ago

README.md

Alavetelitheme

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 that described in the documentation:

To install:

In the Alaveteli general.yml configuration file change the default mysociety theme repository to your theme repository in the THEME_URLS setting:

THEME_URLS:
  - 'git://github.com/YOUR_GITHUB_USERNAME/YOUR_THEME_NAME.git'

You can then switch the theme the application is using:

bundle exec rake themes:install

To run tests:

To run tests, in the Alaveteli Rails.root (with this theme installed):

    bundle exec rspec lib/themes/alavetelitheme/spec

Copyright (c) 2011 mySociety, released under the MIT license