Subversion Repositories DevTools

Rev

Rev 6268 | Rev 6538 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6268 Rev 6440
Line 267... Line 267...
267
                              <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
267
                              <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
268
                              <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Root Cause</td>
268
                              <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Root Cause</td>
269
                           </tr>
269
                           </tr>
270
                           <tr>
270
                           <tr>
271
                           <%
271
                           <%
272
                           query_string = " select pkg.pkg_name, pv.pkg_version, pv.pv_id, dnr.rtag_id, dnr.root_cause, dnr.root_file, pv.pv_description"&_
272
                           query_string = " select pkg.pkg_name, pv.pkg_version, pv.pv_id, dnr.rtag_id, dnr.root_cause, dnr.root_file, pv.pv_description, dnr.root_pv_id"&_
273
                                          "   from do_not_ripple dnr, package_versions pv, packages pkg"&_
273
                                          "   from do_not_ripple dnr, package_versions pv, packages pkg"&_
274
                                          "  where dnr.rtag_id = "& parRtagId &_
274
                                          "  where dnr.rtag_id = "& parRtagId &_
275
                                          "    and pv.pv_id    = dnr.pv_id"&_
275
                                          "    and pv.pv_id    = dnr.pv_id"&_
276
                                          "    and pkg.pkg_id  = pv.pkg_id"&_
276
                                          "    and pkg.pkg_id  = pv.pkg_id"&_
277
                                          "    and dnr.root_pv_id is null"&_
277
                                          "    and nvl(dnr.root_pv_id, -1) < 0 " &_
278
                                          "  order by pkg_name"
278
                                          "  order by pkg_name"
279
                           Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
279
                           Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
280
                           '--- Render rows ---
280
                           '--- Render rows ---
281
                           Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
281
                           Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
282
                            Dim rowClass
282
                            Dim rowClass
Line 304... Line 304...
304
                                rowData = "<a class=""txt_linked"" title=""" & rsQry("root_file") &_
304
                                rowData = "<a class=""txt_linked"" title=""" & rsQry("root_file") &_
305
                                          " Log file may have expired."" " &_
305
                                          " Log file may have expired."" " &_
306
                                          "href=""" & shref_base & rsQry("root_file") & """>" &_
306
                                          "href=""" & shref_base & rsQry("root_file") & """>" &_
307
                                          "Build Failure Log File</a>"
307
                                          "Build Failure Log File</a>"
308
                            End If
308
                            End If
-
 
309
 
-
 
310
                            Dim checkBoxData
-
 
311
                            If NiceInt(rsQry("root_pv_id"), -1) = -1   Then
-
 
312
                                checkBoxData = "onClick=""isChecked('pv_id_list','IncludeSubmit');"""
-
 
313
                            Else
-
 
314
                                checkBoxData = "disabled"    
-
 
315
                            End If
-
 
316
 
309
                           %>
317
                           %>
310
                              <tr class="<%=rowClass%>">
318
                              <tr class="<%=rowClass%>">
311
                                 <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
319
                                 <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
312
                              </tr>
320
                              </tr>
313
                              <tr class="<%=rowClass%>">
321
                              <tr class="<%=rowClass%>">
314
                                 <td nowrap width="1%">
322
                                 <td nowrap width="1%">
315
                                    <!-- The use of the isChecked() javascript function below, enables the submit button if any checkboxes are checked, -->
323
                                    <!-- The use of the isChecked() javascript function below, enables the submit button if any checkboxes are checked, -->
316
                                    <!-- else it will disable the submit button. The function is badly named, but nevertheless, that is what it does.   -->
324
                                    <!-- else it will disable the submit button. The function is badly named, but nevertheless, that is what it does.   -->
317
                                    <a name="PkgName_<%=rsQry("pkg_name")%>">
325
                                    <a name="PkgName_<%=rsQry("pkg_name")%>">
318
                                    <input type="checkbox" value="<%=rsQry("pv_id")%>" name="pv_id_list" id="pv_id_list" onClick="isChecked('pv_id_list','IncludeSubmit');">
326
                                    <input type="checkbox" value="<%=rsQry("pv_id")%>" name="pv_id_list" id="pv_id_list" <%=checkBoxData%>>
319
                                    </a>
327
                                    </a>
320
                                 </td>
328
                                 </td>
321
                                 <td nowrap class="body_rowg"><a class="txt_linked" href="dependencies.asp?pv_id=<%=rsQry("pv_id")%>&rtag_id=<%=rsQry("rtag_id")%>" title="<%=rsQry("pv_description")%>"><%=rsQry("pkg_name")%></a></td>
329
                                 <td nowrap class="body_rowg"><a class="txt_linked" href="dependencies.asp?pv_id=<%=rsQry("pv_id")%>&rtag_id=<%=rsQry("rtag_id")%>" title="<%=rsQry("pv_description")%>"><%=rsQry("pkg_name")%></a></td>
322
                                 <td nowrap class="body_rowg"><%=rsQry("pkg_version")%></td>
330
                                 <td nowrap class="body_rowg"><%=rsQry("pkg_version")%></td>
323
                                 <td nowrap class="body_rowg"><%=rowData%></td>
331
                                 <td nowrap class="body_rowg"><%=rowData%></td>
Line 337... Line 345...
337
                                          "  where dnr.rtag_id = "& parRtagId &_
345
                                          "  where dnr.rtag_id = "& parRtagId &_
338
                                          "    and pv.pv_id    = dnr.pv_id"&_
346
                                          "    and pv.pv_id    = dnr.pv_id"&_
339
                                          "    and pkg.pkg_id  = pv.pkg_id"&_
347
                                          "    and pkg.pkg_id  = pv.pkg_id"&_
340
                                          "    and qv.pv_id    = dnr.root_pv_id"&_
348
                                          "    and qv.pv_id    = dnr.root_pv_id"&_
341
                                          "    and qkg.pkg_id  = qv.pkg_id"&_
349
                                          "    and qkg.pkg_id  = qv.pkg_id"&_
342
                                          "    and dnr.root_pv_id is not null"&_
350
                                          "    and nvl(dnr.root_pv_id, -1) > 0"&_
343
                                          "  order by pkg.pkg_name"
351
                                          "  order by pkg.pkg_name"
344
                           Dim rsQry2
352
                           Dim rsQry2
345
                           Set rsQry2 = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
353
                           Set rsQry2 = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
346
                           '--- Render rows ---
354
                           '--- Render rows ---
347
                           Do While (NOT rsQry2.BOF) AND (NOT rsQry2.EOF)%>
355
                           Do While (NOT rsQry2.BOF) AND (NOT rsQry2.EOF)%>