예제 #1
0
?>
						<?php 
if ($currentSession["build_id"] != '') {
    echo $currentSession["build_id"];
}
?>
<br/>
						<?php 
if ($currentSession["testset"] != '') {
    echo $currentSession["testset"];
}
?>
					</dd>
					<dt>Status:</dt>
					<dd class="status"><?php 
echo Labeler::getTestSessionStatusLabel($currentSession["status"]);
?>
</dd>
				</dl> <!-- /meta_info -->
	</div> <!-- /report_head -->

	<h2 id="test_objective">
		Test Objective
		<span class="heading_actions"></span>
	</h2>
	<div class="editcontent">
		<?php 
echo $currentSession["test_objective"] != "" || $currentSession["test_objective"] != null ? $currentSession["test_objective"] : "No objective filled yet";
?>
	</div> <!-- /editcontent -->
    }
    ?>
											<?php 
    $rowCount++;
    $globalRowCount++;
    ?>

											<tr class="<?php 
    echo $rowCount % 2 == 0 ? "even" : "odd";
    ?>
">
												<td class="date"><span title="<?php 
    echo Labeler::getTestSessionStatusLabel($data["status"]);
    ?>
" class="icon_status <?php 
    echo "status_" . MiscUtils::slugify(Labeler::getTestSessionStatusLabel($data["status"]), '_');
    ?>
"></span><?php 
    echo format_datetime($data["created_at"], "y-MM-dd HH:mm");
    ?>
</td>
												<td class="report_name">
													<a href="<?php 
    echo url_for("test_session", array("project" => $currentProject["name_slug"], "product" => $currentProduct["name_slug"], "environment" => $currentEnvironment["name_slug"], "image" => $data["i_slug"], "id" => $data["id"], "display" => "basic"));
    ?>
" title="See basic report" class="shortcut_link">Basic</a>
													<a href="<?php 
    echo url_for("test_session", array("project" => $currentProject["name_slug"], "product" => $currentProduct["name_slug"], "environment" => $currentEnvironment["name_slug"], "image" => $data["i_slug"], "id" => $data["id"], "display" => "detailed"));
    ?>
" title="See detailed report" class="shortcut_link">Detailed</a>
													<a href="<?php