Sha256: c60a78da8790da3a936999df158fddf91e98cd941ea5cc7f72aacdedeecdfeee
Contents?: true
Size: 871 Bytes
Versions: 8
Compression:
Stored size: 871 Bytes
Contents
- if EffectivePosts.submissions_enabled && EffectivePosts.submissions_require_approval && !post.approved? = link_to effective_posts.admin_approve_post_path(post.id), title: 'Approve' do %span.glyphicon.glyphicon-ok = link_to effective_posts.edit_admin_post_path(post.id), title: 'Settings' do %span.glyphicon.glyphicon-cog = link_to effective_post_path(post, (post.draft? ? {preview: true} : nil)), title: 'View', target: '_blank' do %span.glyphicon.glyphicon-eye-open - if defined?(EffectiveRegions) = link_to effective_post_path(post, edit: true), title: 'Edit Content', 'data-no-turbolink': true, target: '_blank' do %span.glyphicon.glyphicon-edit = link_to effective_posts.admin_post_path(post.id), title: 'Delete', data: { method: :delete, confirm: 'Are you sure you want to delete? This cannot be undone.' } do %span.glyphicon.glyphicon-trash
Version data entries
8 entries across 8 versions & 1 rubygems