2005-11-18 20:37:38 +03:00
|
|
|
[%# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1
|
2005-07-30 00:21:01 +04:00
|
|
|
#
|
2005-11-18 20:37:38 +03:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
2005-07-30 00:21:01 +04:00
|
|
|
#
|
|
|
|
# The Original Code is Litmus.
|
|
|
|
#
|
2005-11-18 20:37:38 +03:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# The Mozilla Corporation.
|
2006-01-25 20:03:40 +03:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2006
|
2005-11-18 20:37:38 +03:00
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Chris Cooper <ccooper@deadsquid.com>
|
|
|
|
# Zach Lipton <zach@zachlipton.com>
|
2005-07-30 00:21:01 +04:00
|
|
|
#
|
2005-11-18 20:37:38 +03:00
|
|
|
# ***** END LICENSE BLOCK *****
|
2005-07-30 00:21:01 +04:00
|
|
|
#%]
|
|
|
|
|
|
|
|
[%# INTERFACE:
|
|
|
|
# $test - the test object to display
|
|
|
|
# @results - the list of all possible test results
|
2005-08-07 07:05:49 +04:00
|
|
|
# $showallresults (optional) - if true, then all test results
|
2005-08-18 01:36:19 +04:00
|
|
|
# will be shown
|
2005-07-30 00:21:01 +04:00
|
|
|
#
|
|
|
|
#%]
|
|
|
|
|
|
|
|
[% PROCESS global/selects.none.tmpl %]
|
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
[% title="Testcase ID #$test.testid - $test.summary" %]
|
|
|
|
[% includeselects=1 %]
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2006-02-07 21:20:53 +03:00
|
|
|
[% INCLUDE global/html_header.tmpl js_files=['js/EditTests.js', 'js/SelectBoxes.js', 'js/FormValidation.js'] %]
|
2005-10-11 22:44:16 +04:00
|
|
|
[% INCLUDE global/litmus_header.tmpl %]
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
<div id="page">
|
|
|
|
|
|
|
|
[% INCLUDE sidebar/sidebar.tmpl %]
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
|
2005-11-15 20:30:57 +03:00
|
|
|
<h1 class="firstHeading">[% title | html %]</h1>
|
2005-10-11 22:44:16 +04:00
|
|
|
|
|
|
|
<div class="section-full">
|
|
|
|
<div class="section-content">
|
|
|
|
|
2006-02-07 21:20:53 +03:00
|
|
|
<form action="process_test.cgi" method="post" name="form" id="show_test_form">
|
2005-07-30 00:21:01 +04:00
|
|
|
<input name="isTestResult" type="hidden" value="true">
|
|
|
|
<input name="editingTestcases" id="editingTestcases" type="hidden" value="">
|
2006-02-07 21:20:53 +03:00
|
|
|
<input name="return" type="hidden" value="show_test.cgi?id=[% test.testid | html %]">
|
|
|
|
<input name="id" type="hidden" value="[% test.testid | html %]">
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2006-02-07 21:20:53 +03:00
|
|
|
<div class="testcase-content">
|
2006-02-08 00:34:28 +03:00
|
|
|
[% INCLUDE test/test.html.tmpl test=test results=results showedit=show_admin show_config=1 %]
|
2006-02-07 21:20:53 +03:00
|
|
|
</div>
|
2005-10-11 22:44:16 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2005-07-30 00:21:01 +04:00
|
|
|
|
|
|
|
|
2005-11-15 20:30:57 +03:00
|
|
|
<h1 class="firstHeading">Recent Test Results for [% title | html %]</h1>
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
[% INCLUDE reporting/test_results.tmpl results=test_results %]
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
</div>
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
</div>
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
</div> <!--END content-->
|
|
|
|
|
|
|
|
</div> <!--END page-->
|
2005-07-30 00:21:01 +04:00
|
|
|
|
2005-10-11 22:44:16 +04:00
|
|
|
[% INCLUDE global/litmus_footer.tmpl %]
|
|
|
|
[% INCLUDE global/html_footer.tmpl %]
|