Просмотр исходного кода

Moved breadcrumb trail above page titles

pull/3/head
Adrian Short 14 лет назад
Родитель
Сommit
26f1d4b9e3
5 измененных файлов: 15 добавлений и 13 удалений
  1. +3
    -3
      views/directorate.haml
  2. +4
    -3
      views/service.haml
  3. +2
    -2
      views/services.haml
  4. +3
    -3
      views/supplier.haml
  5. +3
    -2
      views/suppliers.haml

+ 3
- 3
views/directorate.haml Просмотреть файл

@@ -1,6 +1,4 @@
.grid_12
%h2= @page_title = @directorate.name + " Directorate"
%ul#breadcrumb
%li.home
%a{ :href => '/'} Home
@@ -9,12 +7,14 @@
%li
= @directorate.name
%h2= @page_title = @directorate.name + " Directorate"
%table
%tr
%th Date
%th Service
%th Supplier
%th £
%th.right £
- for payment in @directorate.payments
%tr


+ 4
- 3
views/service.haml Просмотреть файл

@@ -1,6 +1,4 @@
.grid_12
%h2= @page_title = @service.name + " (Service)"
%ul#breadcrumb
%li.home
%a{ :href => '/'} Home
@@ -8,6 +6,9 @@
%a{ :href => '/services' } Services
%li
= @service.name

%h2= @page_title = @service.name + " (Service)"
%p.noprint.download
%a{ :href => "/services/#{@service.slug}.csv" }
Download data as CSV
@@ -17,7 +18,7 @@
%th Date
%th Directorate
%th Supplier
%th £
%th.right £
- for payment in @service.payments
%tr


+ 2
- 2
views/services.haml Просмотреть файл

@@ -1,12 +1,12 @@
.grid_12
%h2 Services
%ul#breadcrumb
%li.home
%a{ :href => '/'} Home
%li
Services
%h2= @page_title = "Services"
- for service in @services
%p
%a{ :href=> "/services/#{service.slug}" }


+ 3
- 3
views/supplier.haml Просмотреть файл

@@ -1,6 +1,4 @@
.grid_12
%h2= @page_title = @supplier.name + " (Supplier)"

%ul#breadcrumb
%li.home
%a{ :href => '/'} Home
@@ -9,6 +7,8 @@
%li
= @supplier.name

%h2= @page_title = @supplier.name + " (Supplier)"

%p.noprint.download
%a{ :href => "/suppliers/#{@supplier.slug}.csv" }
Download data as CSV
@@ -18,7 +18,7 @@
%th Date
%th Directorate
%th Service
%th £
%th.right £
- for payment in @supplier.payments
%tr


+ 3
- 2
views/suppliers.haml Просмотреть файл

@@ -1,12 +1,13 @@
.grid_12
%h2 Suppliers
%ul#breadcrumb
%li.home
%a{ :href => '/'} Home
%li
Suppliers

%h2= @page_title = "Suppliers"

- for supplier in @suppliers
%p
%a{ :href=> "/suppliers/#{supplier.slug}" }


Загрузка…
Отмена
Сохранить