Bläddra i källkod

Added page titles to layout/views

tags/last-sinatra-version
Adrian Short 14 år sedan
förälder
incheckning
9804c0a60f
4 ändrade filer med 5 tillägg och 4 borttagningar
  1. +1
    -1
      views/about.haml
  2. +1
    -1
      views/election.haml
  3. +2
    -1
      views/layout.haml
  4. +1
    -1
      views/parliament.haml

+ 1
- 1
views/about.haml Visa fil

@@ -1,5 +1,5 @@
.grid_9
%h1 About this website
%h1= @page_title = "About this website"
%p
This website was designed and written by


+ 1
- 1
views/election.haml Visa fil

@@ -1,5 +1,5 @@
.grid_9
%h1 How the council election works
%h1= @page_title = "How the council election works"
%p On 6 May 2010 you get to choose your local councillors and to help to decide who runs Sutton Council.


+ 2
- 1
views/layout.haml Visa fil

@@ -2,7 +2,8 @@
!!!
%html
%head
%title Sutton Elections 6 May 2010
%title
= @page_title ? @page_title + " - Sutton Elections" : "Sutton Elections 6 May 2010"
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }


+ 1
- 1
views/parliament.haml Visa fil

@@ -1,6 +1,6 @@
.grid_9

%h1 How the parliament election works
%h1= @page_title = "How the parliament election works"
%p On 6 May 2010 you can vote for your local member of parliament and help to decide who governs the UK.


Laddar…
Avbryt
Spara