Sha256: 486fcaca33a742aa0975fea0eb275eb8421f2ea8aec33a0c5c6652c52468e098

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

= render :partial => 'tabs'
#wrap
  .backgrounds.big-header
    %h1#media-title
      = @media.name
    .interact-links
      = link_to I18n.t('media.update.action').capitalize, [forgeos_core, :edit, :admin, @media ], :class => 'backgrounds interact-button'
      = I18n.t('or')
      = link_to I18n.t('media.back').capitalize, [forgeos_core, :admin, find_media_type_from_content_type(@media).pluralize], :class => 'back-link'

  #content.grid_16.alpha.omega
    #media-modify.grid_12.alpha
      .media-modify-wrap
        - permalink = "#{request.protocol}#{request.host_with_port}#{@media.public_filename}"
        %h2.permalink
          = I18n.t('permalink', :count => 1).capitalize
          \:
          = link_to permalink, permalink
      = render :partial => @media.class.to_s.underscore, :object => @media
    #right-sidebar.grid_4.omega
      .step
        = link_to I18n.t('media.destroy.action').capitalize, [forgeos_core, :admin, @media], :confirm => I18n.t('media.destroy.confirm').capitalize, :method => :delete, :class => 'small-icons delete'
        .clear
    .clear

Version data entries

4 entries across 4 versions & 1 rubygems

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