protected function _commandPin($command)
    {
        $entity = $this->getController()->getItem();

        $label = ($entity->pinned) ? AnTranslator::_('LIB-AN-ACTION-UNPIN') : AnTranslator::_('LIB-AN-ACTION-PIN');

        $command
        ->append(array('label' => $label))
        ->href($entity->getURL().'&action='.($entity->pinned ? 'unpin' : 'pin'))
        ->setAttribute('data-trigger', 'PostLink');
    }