瀏覽代碼

Improve layout of election links

tags/last-sinatra-version
Adrian Short 12 年之前
父節點
當前提交
26a54df6c9
共有 1 個檔案被更改,包括 6 行新增9 行删除
  1. +6
    -9
      views/index.haml

+ 6
- 9
views/index.haml 查看文件

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

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

- if @past_elections.size > 0

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

-#
%h2 Sutton Council Results by Ward


Loading…
取消
儲存