<?php

$text = [
    1 => 'active',
    2 => 'unsubscribed',
    3 => 'pending'
];

$class = [
    1 => 'text-info',
    2 => 'text-danger',
    3 => 'text-warning'
];

echo '<span class="oc-icon-circle '.$class[$record->status].'">'.Lang::get('indikator.news::lang.form.status_'.$text[$record->status]).'</span>';
