Update of /cvsroot/http-webtest/HTTP-WebTest-Recorder/lib/HTTP/WebTest/Recorder/template
In directory sc8-pr-cvs1:/tmp/cvs-serv7122/lib/HTTP/WebTest/Recorder/template
Modified Files:
page.inc list
Log Message:
Display 'turn off/on recorder' only on list page
Index: page.inc
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest-Recorder/lib/HTTP/WebTest/Recorder/template/page.inc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** page.inc 25 Jan 2003 14:54:51 -0000 1.1
--- page.inc 25 Jan 2003 15:24:47 -0000 1.2
***************
*** 2,6 ****
[% USE HTML %]
- [% USE enable_url = URL('enable') %]
<html>
--- 2,5 ----
***************
*** 9,18 ****
</head>
<body>
-
- [% IF controller.recorder.is_recording %]
- <p><a href="[% enable_url(enable => 0) %]">Turn off</a> recording</p>
- [% ELSE %]
- <p><a href="[% enable_url(enable => 1) %]">Turn on</a> recording</p>
- [% END %]
<h1>[% HTML.escape(title) %]</h1>
--- 8,11 ----
Index: list
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest-Recorder/lib/HTTP/WebTest/Recorder/template/list,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** list 25 Jan 2003 14:54:51 -0000 1.1
--- list 25 Jan 2003 15:24:47 -0000 1.2
***************
*** 4,10 ****
[% USE HTML %]
! [% USE request_url = URL('request') %]
[% IF tests.size > 0 %]
<table>
--- 4,18 ----
[% USE HTML %]
! [% USE enable_url = URL('enable') %]
!
! [% IF controller.recorder.is_recording %]
! <p><a href="[% enable_url(enable => 0) %]">Turn off</a> recording</p>
! [% ELSE %]
! <p><a href="[% enable_url(enable => 1) %]">Turn on</a> recording</p>
! [% END %]
[% IF tests.size > 0 %]
+
+ [% USE request_url = URL('request') %]
<table>
|