diff --git a/templates.html b/templates.html index 6e7ad50..e8c83c8 100644 --- a/templates.html +++ b/templates.html @@ -361,6 +361,16 @@

Test Results for <%=params.type%> <%=params.typeValue%>, <%=params.ua%> <%=p return url; } }; + + function dataToUrl(resData,params){ + var url = "type/" + params.type + "/typevalue/" + params.typeValue; + url = url + "/ua/" + (resData.uaProduct.name || "null"); + url = url + "/uaver/" + (resData.uaProduct.version || "null"); + url = url + "/at/" + (resData.atProduct.name || "null"); + url = url + "/atver/" + (resData.atProduct.version || "null"); + // url = url + "/filter/" + encodeURI(JSON.stringify(params.filter)); + return url; + } %> <% firstrow = true %> <% _.each(results.rows, function(row) { @@ -396,9 +406,10 @@

Test Results for <%=params.type%> <%=params.typeValue%>, <%=params.ua%> <%=p } else { if(parseInt(col.noOfAll)>0){ + %> <%=col.noOfPass %>/<%=col.noOfAll %> - <%=col.noOfPass %>/<%=col.noOfAll %> + <%=col.noOfPass %>/<%=col.noOfAll %> <% } else { %>