[%# ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1 # # 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. # # The Original Code is Litmus. # # The Initial Developer of the Original Code is # The Mozilla Corporation. # Portions created by the Initial Developer are Copyright (C) 2006 # the Initial Developer. All Rights Reserved. # # Contributor(s): # Chris Cooper # Zach Lipton # # ***** END LICENSE BLOCK ***** #%] [%# INTERFACE: # $testcase - the testcase object to display # $showallresults (optional) - if true, then all test results # will be shown # @testgroups - a list of testgroups to which the current testcase belongs # @subgroups - a list of subgroups to which the current testcase belongs #%] [% PROCESS global/selects.none.tmpl %] [% IF testcase.community_enabled OR show_admin %] [% title="Testcase ID #$testcase.testcase_id - $testcase.summary" %] [% ELSE %] [% title="Testcase disabled" %] [% END %] [% includeselects=1 %] [% INCLUDE global/html_header.tmpl js_files=['js/prototype.lite.js','js/moo.fx.js','js/moo.fx.pack.js','js/EditTests.js','js/FormValidation.js','js/SelectBoxes.js'] %] [% INCLUDE global/litmus_header.tmpl %]
[% INCLUDE sidebar/sidebar.tmpl %]

[% title | html %]

[% IF ! testcase.community_enabled AND ! show_admin %]
This testcase is not currently enabled.
[% ELSE %]
[% INCLUDE test/test.html.tmpl testcase=testcase results=results show_config=1 sysconfig=sysconfig %]
[% IF sysconfig %] [% INCLUDE runtests/testing_config.tmpl sysconfig=sysconfig %] [% END %]

Recent Test Results for [% title | html %]

[% INCLUDE reporting/test_results.tmpl results=test_results %]
[% END %] [% INCLUDE global/litmus_footer.tmpl %] [% INCLUDE global/html_footer.tmpl %]