Sha256: 3b7d83eb1d56906af6cd6417b4cb8732a2b1478bd2dd640c89ec243384b80934

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

%tr{data: { id: post.id }}
  %td.nowrap
    %h3= link_to post.title, spina.edit_admin_conferences_blog_post_path(post.id)
    %small #{time_ago_in_words(post.created_at)} ago
    .labels
      - if post.draft?
        %span.label.label-info= t('spina.blog.posts.concept')
      - if post.published_at and post.published_at > Time.now
        %span.label.label-default
          Will be published on #{post.decorate.published_date}

  %td.nowrap.text-right
    = link_to spina.edit_admin_conferences_blog_post_path(post.id), class: 'button button-link' do
      = icon 'pencil-outline'
      = t('spina.blog.posts.edit')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-admin-conferences-blog-0.1.4 app/views/spina/admin/conferences/blog/posts/_post.html.haml
spina-admin-conferences-blog-0.1.3 app/views/spina/admin/conferences/blog/posts/_post.html.haml