.press_release{:class => ("press_with_image" if press_release.press_type_id == 2)}
  -if press_release.press_type_id == 1
    .date
      =l press_release.published_at, :format => :human_date 
    
  
  %h2= press_release.title
  -if press_release.press_type_id == 2 and press_release.image_file
  
    .image.with_ratio{:style => "background:center center;background-image:url('#{press_release.image_file.file.large.medium.small}');position:relative;background-size:cover;", :data => {:ratio => 0.67}}
  
  .desc=simple_format strip_tags(press_release.description)
  .more
  
    -if press_release.press_type_id == 1
      =link_to qit("cp-read-more","Lire le communiqué de presse"), public_press_release_path(:id => press_release.slug, :lang => press_release.lang_site.slug )
    
    -else
      =link_to qit("cp-read-fiche","Voir la fiche"), public_sentience_path(:id => press_release.slug, :lang => press_release.lang_site.slug )
      
  .clear