Quellcode durchsuchen

Improve layout of election links

tags/last-sinatra-version
Adrian Short vor 13 Jahren
Ursprung
Commit
26a54df6c9
1 geänderte Dateien mit 6 neuen und 9 gelöschten Zeilen
  1. +6
    -9
      views/index.haml

+ 6
- 9
views/index.haml Datei anzeigen

@@ -9,12 +9,10 @@
%tr %tr
%td %td
%a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" } %a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" }
= short_date(election.d)
%td
%a{ :href => "/bodies/#{election.body.slug}" }
= election.body.name = election.body.name
%td= election.kind

\ -
= election.kind
= short_date(election.d)


- if @past_elections.size > 0 - if @past_elections.size > 0


@@ -25,11 +23,10 @@
%tr %tr
%td %td
%a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" } %a{ :href => "/bodies/#{election.body.slug}/elections/#{election.d}" }
= short_date(election.d)
%td
%a{ :href => "/bodies/#{election.body.slug}" }
= election.body.name = election.body.name
%td= election.kind
\ -
= election.kind
= short_date(election.d)


-# -#
%h2 Sutton Council Results by Ward %h2 Sutton Council Results by Ward


Laden…
Abbrechen
Speichern