+
+
+ {#if idaa_post_obj.content}
{@html idaa_post_obj.content}
{/if}
+
+
+ {
+ $slct.post_id = idaa_post_obj.post_id_random;
+ $slct.post_obj = idaa_post_obj;
+
+ handle_load_post_comment_obj_li({post_id: $slct.post_id, try_cache: false});
+
+ const url = new URL(location);
+ url.searchParams.set('post_id', idaa_post_obj.post_id_random);
+ history.pushState({}, '', url);
+
+ let message = {'post_id': idaa_post_obj.post_id_random};
+ window.parent.postMessage(message, "*");
+
+ $ae_app.posts.show_main__options = true;
+ $ae_app.posts.show_list__post_obj_li = true;
+ // $ae_app.posts.show_edit__post_id = false;
+ $ae_app.posts.show_view__post_id = true;
+ }}
+ class="btn btn-primary"
+ title={`View: ${idaa_post_obj.title}`}
+ >
+ Open
+
+ {#if idaa_post_obj.post_comment_count}
+
+ {/if}
+
+
+ {#if $ae_app.trusted_access || idaa_post_obj.external_person_id === $ae_app.novi_uuid || idaa_post_obj.email === $ae_app.novi_email}
+ {
+ $slct.post_id = idaa_post_obj.post_id_random;
+ $slct.post_obj = idaa_post_obj;
+ $slct_trigger = 'load__post_obj';
+
+ $ae_app.posts.show_main__options = true;
+ $ae_app.posts.show_list__post_obj_li = true;
+ $ae_app.posts.show_edit__post_id = true;
+ // $ae_app.posts.show_view__post_id = false;
+ }}
+ class="ae_btn ae_smallest btn btn-secondary"
+ title={`Edit post: ${idaa_post_obj.title}`}
+ >
+ Edit Post
+
+ {/if}
+
+
+
+
+
+
+
+
+{/each}
+
+{:else}
+ No posts found at this time
+{/if}
+