moj_template 0.23.0 → 0.23.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/lib/moj_template/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6e1d318981d4e3daac496ede2151bfeb40106c
|
4
|
+
data.tar.gz: 0b50c000ec1917bfe6793cb6c9212edaf29ebfb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f45fef24c9b172b8c1bea9fbf4773d64d0a66518746adca3a1cc98865c5831ecaef23dbe59e6227d23244af2b6fbb46b395d57c092b7d309b9e0b2dc5b2a72
|
7
|
+
data.tar.gz: 6ebdd68a1c51286f7e9125c25e9f69e029bd677c4d7e26f971214c5ff03d6e8d3ee733bfbf56367d10639e1c45e1b20c43150307d51478507db1865daf3d97e5
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ At present this generates 5 output formats:
|
|
27
27
|
|
28
28
|
The gem is available on [rubygems.org](https://rubygems.org/gems/moj_template). To use it, add this line to your application's Gemfile (change the tag to the version you would like to use):
|
29
29
|
|
30
|
-
gem 'moj_template', '
|
30
|
+
gem 'moj_template', '0.23.2'
|
31
31
|
|
32
32
|
And then execute:
|
33
33
|
|
@@ -53,8 +53,6 @@ In order for these files to work, you will need to set a number of variables in
|
|
53
53
|
config.product_type = ''
|
54
54
|
# Feedback URL (URL for feedback link in phase banner)
|
55
55
|
config.feedback_url = ''
|
56
|
-
# Google Analytics ID (Tracking ID for the service)
|
57
|
-
config.ga_id = ''
|
58
56
|
|
59
57
|
### Django version
|
60
58
|
|
@@ -91,7 +89,6 @@ Create a new file called `{app_path}/context_processors.py` with the following c
|
|
91
89
|
'phase': '', # Current Phase (Sets the current phase and the colour of phase tags). Presumed values: alpha, beta, live
|
92
90
|
'product_type': '', # Product Type (Adds class to body based on service type). Presumed values: information, service
|
93
91
|
'feedback_url': '', # Feedback URL (URL for feedback link in phase banner)
|
94
|
-
'ga_id': '' # Google Analytics ID (Tracking ID for the service)
|
95
92
|
}
|
96
93
|
|
97
94
|
Then add the following to your `TEMPLATE_CONTEXT_PROCESSORS` in `settings.py`:
|
@@ -165,4 +162,3 @@ To make use of any modules from the `modules/` folder, include the required modu
|
|
165
162
|
|
166
163
|
//= require modules/moj.tabs.js
|
167
164
|
|
168
|
-
For **documentation on Modules**, see the [wiki pages](https://github.com/ministryofjustice/moj_template/wiki).
|
data/lib/moj_template/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moj_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dom Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|