|
|
@@ -0,0 +1,19 @@ |
|
|
|
%h1 Media |
|
|
|
|
|
|
|
%p |
|
|
|
%a.button{ :href => 'https://github.com/adrianshort/kiosks/blob/master/media.csv' } |
|
|
|
Add more media here |
|
|
|
|
|
|
|
%table |
|
|
|
- media_items.each do |item| |
|
|
|
%tr |
|
|
|
%td.nowrap= short_date(item['publish_date']) |
|
|
|
%td.nowrap= item['publication'] |
|
|
|
%td |
|
|
|
%a{ :href => item['url'] }< |
|
|
|
= item['title'] |
|
|
|
-# |
|
|
|
%div.tags |
|
|
|
- item['authorities'].split('|').each do |authority| |
|
|
|
%a{ :href => authority_url(authority) }< |
|
|
|
= authority |