ProJam Comment Delete
Using Jamroom
ok weirdness - as an admin I am not longer able to see the edit button which is odd because the conditional statement looks correct.
if jrUser_is_admin() || !isset($item.comment_locked)}
{if $_params.profile_owner_id > 0}
{* profile owners can delete comments *}
{*{jrCore_item_update_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}*}
{jrCore_item_delete_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}
{else}
{* site admins and comment owners see this button *}
{jrCore_item_update_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
{jrCore_item_delete_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
{/if}
updated by @dazed: 07/16/16 07:46:01AM