<?php
/**
 * @var $interlocutor_id
 */
?>

<div class="ui icon top right pointing dropdown pm-settings-menu icon-button icon-button-light js-message-settings-action-button message-settings-action-button">

	<i class="ellipsis horizontal icon"></i>

	<div class="menu">

		<!-- Unarchive -->
		<div class="item js-pm-action-unarchive <?php if ( ! wpj_is_conversation_archived( $interlocutor_id ) ) echo 'disabled'; ?>" data-uid="<?php echo $interlocutor_id; ?>">
			<i class="mail icon"></i>
			<?php _e( 'Unarchive', 'wpjobster' ); ?>
		</div>

		<!-- Archive -->
		<div class="item js-pm-action-archive <?php if ( wpj_is_conversation_archived( $interlocutor_id ) ) echo 'disabled'; ?>" data-uid="<?php echo $interlocutor_id; ?>">
			<i class="archive icon"></i>
			<?php _e( 'Archive', 'wpjobster' ); ?>
		</div>

		<!-- Delete -->
		<div class="item js-pm-action-delete" data-uid="<?php echo $interlocutor_id; ?>">
			<i class="trash icon"></i>
			<?php _e( 'Delete', 'wpjobster' ); ?>
		</div>

	</div>
</div>