<?php 
        if ($issue->canDeleteIssue()) {
            ?>
                <li class="separator"></li>
                <li><a href="javascript:void(0)" onclick="TBG.Main.Profile.clearPopupsAndButtons();TBG.Main.Helpers.Dialog.show('<?php 
            echo __('Permanently delete this issue?');
            ?>
', '<?php 
            echo __('Are you sure you wish to delete this issue? It will remain in the database for your records, but will not be accessible via The Bug Genie.');
            ?>
', {yes: {href: '<?php 
            echo make_url('deleteissue', array('project_key' => $issue->getProject()->getKey(), 'issue_id' => $issue->getID()));
            if (isset($_SERVER['HTTP_REFERER'])) {
                ?>
?referrer=<?php 
                echo tbg_template_escape($_SERVER['HTTP_REFERER']);
                echo $issue->getMilestone() ? '#roadmap_milestone_' . $issue->getMilestone()->getID() : '';
            }
            ?>
' }, no: {click: TBG.Main.Helpers.Dialog.dismiss}});"><?php 
            echo fa_image_tag('times', ['class' => 'delete']) . __("Permanently delete this issue");
            ?>
</a></li>
            <?php 
        }
        ?>
        <?php 
    } else {
        ?>
            <li class="disabled"><a href="#"><?php 
        echo __('No additional actions available');
">
        <label for="boardcolumn_<?php 
echo $column_id;
?>
_name_input"><?php 
echo __('Column name');
?>
</label>
        <input type="text" class="column-name" name="columns[<?php 
echo $column_id;
?>
][name]" id="boardcolumn_<?php 
echo $column_id;
?>
_name_input" value="<?php 
echo tbg_template_escape($column->getName());
?>
" placeholder="<?php 
echo __('Column status (ex: New, Done)');
?>
">
        <?php 
if ($column->getBoard()->getType() == AgileBoard::TYPE_KANBAN) {
    ?>
            <label for="boardcolumn_<?php 
    echo $column_id;
    ?>
_min_workitems_input" class="workload-label"><?php 
    echo __('Min workload');
    ?>
</label>