This commit is contained in:
Renzo 2016-07-30 03:31:35 -05:00
parent eb78266bee
commit 9632bd9283

View File

@ -281,6 +281,12 @@ class HistoryHelper extends Rails\ActionView\Helper
case 'is_rating_locked': case 'is_rating_locked':
# Trueish: if a value equals true or 't' # Trueish: if a value equals true or 't'
$html .= $change->value || $change->value == 't' ? $added : $removed; $html .= $change->value || $change->value == 't' ? $added : $removed;
$html .= 'rating-locked';
break;
case 'is_note_locked':
# Trueish
$html .= $change->value || $change->value == 't' ? $added : $removed;
$html .= 'note-locked'; $html .= 'note-locked';
break; break;