default.partial.phtml #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • application/
  • system/
  • views/
  • scripts/
  • index/
  • default.partial.phtml
  • View
  • Commits
  • Open Download .zip Download (1007 B)
<div class="status-wrapper">
<?  if (is_array($this->content)) {
        foreach ($this->content as $label => $message) {
            if (is_array($message)) {
                echo $this->partial('indicator.phtml',
                    array(
                        'label'     => $label,
                        'status'    => '',
                        'class'     => (array_key_exists('displayClass', $message)) ? $message['displayClass'] : 'good',
                        'message'   => $message['details'],
                    )
                );
            } else {
                echo $this->partial('indicator.phtml',
                    array(
                        'label'     => $label,
                        'status'    => '',
                        'class'     => 'good',
                        'message'   => $message,
                    )
                );
            }
        }
    } else {
        echo $this->escape($this->content);
    }
?>
</div>
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/application/system/views/scripts/index/default.partial.phtml
#1 8972 Matt Attaway Initial add of the Chronicle source code