govuk_template 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,6 +65,19 @@
65
65
  </div>
66
66
  </div>
67
67
 
68
+ <div id="global-cookie-message">
69
+ <div class="outer-block">
70
+ <div class="inner-block">
71
+ <% if content_for?(:cookie_message) %>
72
+ <%= yield :cookie_message %>
73
+ <% else %>
74
+ <p>GOV.UK uses cookies to make the site simpler. <a href="https://www.gov.uk/help/cookies">Find out more about cookies</a></p>
75
+ <% end %>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ <!--end global-cookie-message-->
80
+
68
81
  <% unless @omit_header %>
69
82
  <header role="banner" id="global-header" class="<%= yield(:header_class) %>">
70
83
  <div class="header-wrapper">
@@ -84,13 +97,12 @@
84
97
 
85
98
  <%= yield :after_header %>
86
99
 
87
- <div id="global-cookie-message">
88
- <% if content_for?(:cookie_message) %>
89
- <%= yield :cookie_message %>
90
- <% else %>
91
- <p>GOV.UK uses cookies to make the site simpler. <a href="https://www.gov.uk/help/cookies">Find out more about cookies</a></p>
92
- <% end %>
100
+ <div id="global-header-bar">
101
+ <div class="inner-block">
102
+ <div class="header-bar"></div>
103
+ </div>
93
104
  </div>
105
+ <!--end global-header-bar-->
94
106
 
95
107
  <%= content_for?(:content) ? yield(:content) : yield %>
96
108
 
@@ -104,13 +116,13 @@
104
116
  <%= yield :footer_support_links %>
105
117
 
106
118
  <div class="open-government-licence">
107
- <h2><a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2">Open Government Licence</a></h2>
108
- <p>All content is available under the <a href="http://www.nationalarchives.gov.uk/doc/open-government-licence/version/2">Open Government Licence v2.0</a>, except where otherwise stated</p>
119
+ <h2><a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/2/">Open Government Licence</a></h2>
120
+ <p>All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/2/">Open Government Licence v2.0</a>, except where otherwise stated</p>
109
121
  </div>
110
122
  </div>
111
123
 
112
124
  <div class="copyright">
113
- <a href="http://www.nationalarchives.gov.uk/information-management/our-services/crown-copyright.htm">&copy; Crown copyright</a>
125
+ <a href="https://www.nationalarchives.gov.uk/information-management/our-services/crown-copyright.htm">&copy; Crown copyright</a>
114
126
  </div>
115
127
  </div>
116
128
  </div>
@@ -1,3 +1,3 @@
1
1
  module GovukTemplate
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-31 00:00:00.000000000 Z
12
+ date: 2014-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 0.43.1
85
+ version: 0.48.0
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - '='
92
92
  - !ruby/object:Gem::Version
93
- version: 0.43.1
93
+ version: 0.48.0
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: gem_publisher
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -135,10 +135,8 @@ files:
135
135
  - app/assets/stylesheets/govuk-template-ie7.css.erb
136
136
  - app/assets/stylesheets/fonts-ie8.css.erb
137
137
  - app/assets/stylesheets/images/open-government-licence_2x.png
138
- - app/assets/stylesheets/images/separator.png
139
138
  - app/assets/stylesheets/images/govuk-crest.png
140
139
  - app/assets/stylesheets/images/open-government-licence.png
141
- - app/assets/stylesheets/images/separator-2x.png
142
140
  - app/assets/stylesheets/images/close.png
143
141
  - app/assets/stylesheets/images/govuk-crest-2x.png
144
142
  - app/assets/stylesheets/images/govuk-crest-ie.png
@@ -190,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
188
  version: '0'
191
189
  segments:
192
190
  - 0
193
- hash: 1199739565587448907
191
+ hash: -1663681684241497025
194
192
  required_rubygems_version: !ruby/object:Gem::Requirement
195
193
  none: false
196
194
  requirements:
@@ -199,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
197
  version: '0'
200
198
  segments:
201
199
  - 0
202
- hash: 1199739565587448907
200
+ hash: -1663681684241497025
203
201
  requirements: []
204
202
  rubyforge_project:
205
203
  rubygems_version: 1.8.23