Sha256: c2b452bd572ae90784f700936f1c226b37a54917ce31ebef69f428d3e3530567

Contents?: true

Size: 1.35 KB

Versions: 6

Compression:

Stored size: 1.35 KB

Contents

.large-image.grid_7.omega
  #audio-player

.large-info-container.grid_5.alpha.omega
  .large-info-block
    %span.large-info-name.truncate
      = I18n.t('media.filename').capitalize
    %span.large-info-value
      = object.filename
    .clear
  .large-info-block
    %span.large-info-name
      = I18n.t('media.picture.original_size').capitalize
    %span.large-info-value
      = "#{object.width} x #{object.height} #{I18n.t('media.pixel', :count => 2)}"
    .clear
  .large-info-block
    %span.large-info-name
      = I18n.t('media.file_type').capitalize
    %span.large-info-value
      = object.file_type.upcase
    .clear
  .large-info-block
    %span.large-info-name
      = I18n.t('media.updated_at').capitalize
    %span.large-info-value
      = object.updated_at.to_s(:short)
    .clear
  .large-info-block
    %span.large-info-name
      = I18n.t('media.size').capitalize
    %span.large-info-value
      = "#{object.size/1024} #{I18n.t('media.byte.kilo')}"
    .clear
  .large-info-block
    %span.large-info-name
      = I18n.t('media.description').capitalize
    %span.large-info-value
      = object.description
    .clear

.clear

= javascript_include_tag 'audio-player'
= javascript_tag "AudioPlayer.setup('/assets/forgeos/flashes/audio-player.swf', { width: 290 }); AudioPlayer.embed('audio-player', { soundFile: '#{object.public_filename()}', autostart: 'yes' })"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 app/views/admin/attachments/_audio.html.haml
forgeos_core-1.9.5.rc1 app/views/admin/attachments/_audio.html.haml
forgeos_core-1.9.4 app/views/admin/attachments/_audio.html.haml
forgeos_core-1.9.3 app/views/admin/attachments/_audio.html.haml
forgeos_core-1.9.2 app/views/admin/attachments/_audio.html.haml
forgeos_core-1.9.1 app/views/admin/attachments/_audio.html.haml