You are here

function theme_heartbeat_activity_remaining in Heartbeat 6.4

Theme function for the heartbeat activity remaining items.

1 theme call to theme_heartbeat_activity_remaining()
HeartbeatActivity::create_grouped_message in includes/heartbeatactivity.inc

File

./heartbeat.module, line 1871

Code

function theme_heartbeat_activity_remaining($beat, $target, $remains = array()) {
  $output = '';
  if (count($remains) > 0) {
    $output .= '<ul id="' . $beat . '-remaining" class="beat-remaining" style="display: none;">';
    foreach ($remains as $remain) {
      $output .= '<li>' . $remain["@" . $target] . '</li>';
    }
    $output .= '</ul>';
  }
  return $output;
}