'Display a SelectField whose options are the changeset_revision strings of all metadata revisions of this repository.'

def get_value(self, trans, grid, repository):

    select_field = grids_util.build_changeset_revision_select_field(trans, repository, downloadable=False)
    if (len(select_field.options) > 1):
        return select_field.get_html()
    elif (len(select_field.options) == 1):
        option_items = select_field.options[0][0]
        (rev_label, rev_date) = option_items.split('    ')
        rev_date = ('<i><font    color="#666666">%s</font></i>' % rev_date)
        return ('%s    %s' % (rev_label, rev_date))
        return select_field.options[0][0]
    return ''
