Sha256: 7731bee084bf2b0bbb82399e2ce95cd2cb16da45554a5f1433fc10890d688369
Contents?: true
Size: 881 Bytes
Versions: 10
Compression:
Stored size: 881 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 EffectivePosts.use_fullscreen_editor = 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
10 entries across 10 versions & 1 rubygems