Quellcode durchsuchen

Added page titles to layout/views

tags/last-sinatra-version
Adrian Short vor 14 Jahren
Ursprung
Commit
9804c0a60f
4 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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.


Laden…
Abbrechen
Speichern