Skip to content

Commit

Permalink
Show production_year, status and format.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhellberg committed May 17, 2010
1 parent 2356ed9 commit 904d7e4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions views/_sidebar.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
%li
%label= "Producerande bolag:"
= p.producing_company
- if p.has_production_year?
%li
%label= "Produktionsår:"
= p.production_year
- if p.has_documents?
%h4= "Dokument"
%ul
Expand All @@ -25,7 +29,7 @@
%label="#{translated_product_type(document.full_type)}:"
- document.storages.each do |storage|
%a{ :href => storage.location }= storage.storage_format
- if p.has_sab? && p.has_sao?
- if p.has_sab? || p.has_sao?
%h4= "Ämnen"
%ul
- if p.has_sab?
Expand All @@ -44,4 +48,10 @@
- if p.has_obsolete_order_id?
%li
%label="AV-nummer:"
= p.obsolete_order_id
= p.obsolete_order_id
%li
%label= "Status:"
= p.status
%li
%label= "Format:"
= p.format

0 comments on commit 904d7e4

Please sign in to comment.