Commit 0390492c authored by TravisCarden's avatar TravisCarden

By TravisCarden: Fixed HTML double-escaping in progress bar.

parent c30cd3e9
......@@ -243,7 +243,7 @@ function checklistapi_theme() {
'path' => drupal_get_path('module', 'checklistapi') . '/templates',
'template' => 'checklistapi-progress-bar',
'variables' => array(
'message' => ' ',
'message' => '',
'number_complete' => 0,
'number_of_items' => 0,
'percent_complete' => 0,
......
......@@ -36,7 +36,7 @@ class ChecklistapiChecklistForm implements FormInterface {
'#message' => ($checklist->hasSavedProgress()) ? t('Last updated @date by !user', array(
'@date' => $checklist->getLastUpdatedDate(),
'!user' => $checklist->getLastUpdatedUser(),
)) : ' ',
)) : '',
'#number_complete' => $checklist->getNumberCompleted(),
'#number_of_items' => $checklist->getNumberOfItems(),
'#percent_complete' => (int) round($checklist->getPercentComplete()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment