User tests: Successful: Unsuccessful:
Protostar classes layout and task output incomplete if not layout
or task. If no layout or task assigned, outputs: layout- and task-
respectively.
Added if/else to output 'layout-' or if not available 'no-layout'. Same for 'task-'
<body class="site <?php echo $option . " view-" . $view . " itemid-" . $itemid . ($layout ? " layout-" . $layout : " no-layout" ) . ($task ? " task-" . $task : " no-task" ); ?> <?php if ($this->params->get('fluidContainer')) { echo "fluid"; } ?>">
Tracker item created at: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29858
Sending new PR with itemid included.