public function getColumnContent($gridField, $record, $columnName)
    {
        $data = new ArrayData(array(
            'Link' => Controller::join_links($gridField->Link('item'), $record->ID, 'edit')
        ));

        $template = $record->canEdit() ? 'GridFieldEditButton' : 'GridFieldViewButton';

        return $data->renderWith($template);
    }