2 new revisions:
Revision: bd9bdbf896ce
Author: Jussi Malinen
Date: Wed Jun 15 01:41:56 2011
Log: set logpath dynamically in javascript
http://code.google.com/p/robotframework/source/detail?r=bd9bdbf896ce
Revision: 719bdf7fc1e4
Author: Jussi Malinen
Date: Wed Jun 15 01:42:45 2011
Log: Automated merge with https://robotframework.googlecode.com/hg/
http://code.google.com/p/robotframework/source/detail?r=719bdf7fc1e4
==============================================================================
Revision: bd9bdbf896ce
Author: Jussi Malinen
Date: Wed Jun 15 01:41:56 2011
Log: set logpath dynamically in javascript
http://code.google.com/p/robotframework/source/detail?r=bd9bdbf896ce
Modified:
/src/robot/webcontent/report.html
=======================================
--- /src/robot/webcontent/report.html Tue Jun 14 23:23:59 2011
+++ /src/robot/webcontent/report.html Wed Jun 15 01:41:56 2011
@@ -276,7 +276,7 @@
return;
}
var elements = pop_upto(window.tasks, 50);
- $.tmpl(window.templates.testDetailsRow,
elements).appendTo('#tests_detail_table');
+ $.tmpl(window.templates.testDetailsRow, elements, {logPath:
window.settings.logPath}).appendTo('#tests_detail_table');
if(window.tasks.length > 0)
setTimeout("iterateDetails()", 0);
}
@@ -534,7 +534,11 @@
<script type="text/html" id="report_test_details_row">
<tr class="test_row">
- <td class="col_name"><a href="log.html#test_${fullname}"
id="test_${fullname}" title="${fullname}"><span
class="parent_name">${parentName}</span>${name}</a></td>
+ {{if $item.logPath}}
+ <td class="col_name"><a href="${$item.logPath}#test_${fullname}"
id="test_${fullname}" title="${fullname}"><span
class="parent_name">${parentName}</span>${name}</a></td>
+ {{else}}
+ <td class="col_name"><span
class="parent_name">${parentName}</span>${name}</td>
+ {{/if}}
<td class="col_doc">{{html documentation}}</td>
<td class="col_tags">${tags.join(', ')}</td>
<td class="col_crit">{{if isCritical}}yes{{else}}no{{/if}}</td>
==============================================================================
Revision: 719bdf7fc1e4
Author: Jussi Malinen
Date: Wed Jun 15 01:42:45 2011
Log: Automated merge with https://robotframework.googlecode.com/hg/
http://code.google.com/p/robotframework/source/detail?r=719bdf7fc1e4
Modified:
/src/robot/webcontent/report.html
=======================================
--- /src/robot/webcontent/report.html Wed Jun 15 01:09:45 2011
+++ /src/robot/webcontent/report.html Wed Jun 15 01:42:45 2011
@@ -274,7 +274,7 @@
return;
}
var elements = pop_upto(window.tasks, 50);
- $.tmpl(window.templates.testDetailsRow,
elements).appendTo('#tests_detail_table');
+ $.tmpl(window.templates.testDetailsRow, elements, {logPath:
window.settings.logPath}).appendTo('#tests_detail_table');
if(window.tasks.length > 0)
setTimeout("iterateDetails()", 0);
}
@@ -532,7 +532,11 @@
<script type="text/html" id="report_test_details_row">
<tr class="test_row">
- <td class="col_name"><a href="log.html#test_${fullname}"
id="test_${fullname}" title="${fullname}"><span
class="parent_name">${parentName}</span>${name}</a></td>
+ {{if $item.logPath}}
+ <td class="col_name"><a href="${$item.logPath}#test_${fullname}"
id="test_${fullname}" title="${fullname}"><span
class="parent_name">${parentName}</span>${name}</a></td>
+ {{else}}
+ <td class="col_name"><span
class="parent_name">${parentName}</span>${name}</td>
+ {{/if}}
<td class="col_doc">{{html documentation}}</td>
<td class="col_tags">${tags.join(', ')}</td>
<td class="col_crit">{{if isCritical}}yes{{else}}no{{/if}}</td>