Subversion Repositories DevTools

Rev

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

Rev 6688 Rev 6787
Line 104... Line 104...
104
		GetIsDepFilterChecked = "checked"
104
		GetIsDepFilterChecked = "checked"
105
	End If
105
	End If
106
	
106
	
107
End Function
107
End Function
108
'-----------------------------------------------------------------------------------------------------------------
108
'-----------------------------------------------------------------------------------------------------------------
109
Sub RowStyle ( sStatus, ByRef outIcon, ByRef outStyle )
109
Sub RowStyle ( sStatus, ByRef outIcon, ByRef outStyle, ByRef outText )
110
	
110
	
111
	Select Case CInt(sStatus)
111
	Select Case CInt(sStatus)
112
		Case enumDB_NUM_DIFF_NO_CHANGE
112
		Case enumDB_NUM_DIFF_NO_CHANGE
113
			outStyle = "body_rowg"
113
			outStyle = "body_rowg"
114
			outIcon = NULL
114
			outIcon = NULL
-
 
115
            outText = "No Change"
115
			
116
			
116
		Case enumDB_NUM_DIFF_UPDATED
117
		Case enumDB_NUM_DIFF_UPDATED
117
			outStyle = "body_rowbold"
118
			outStyle = "body_rowbold"
118
			outIcon = LIMG_UPDATED
119
			outIcon = LIMG_UPDATED
-
 
120
            outText = "Changed"
119
			
121
			
120
		Case enumDB_NUM_DIFF_NEW
122
		Case enumDB_NUM_DIFF_NEW
121
			outStyle = "body_rowbold"
123
			outStyle = "body_rowbold"
122
			outIcon = LIMG_ADDED
124
			outIcon = LIMG_ADDED
-
 
125
            outText = "Added"
123
			
126
			
124
		Case enumDB_NUM_DIFF_REMOVED
127
		Case enumDB_NUM_DIFF_REMOVED
125
			outStyle = "body_rowthru"
128
			outStyle = "body_rowthru"
126
			outIcon = LIMG_REMOVED
129
			outIcon = LIMG_REMOVED
-
 
130
            outText = "Removed"
127
			
131
			
128
	End Select
132
	End Select
129
	
133
	
130
End Sub
134
End Sub
131
'-----------------------------------------------------------------------------------------------------------------
135
'-----------------------------------------------------------------------------------------------------------------
Line 485... Line 489...
485
		<%
489
		<%
486
        %>					
490
        %>					
487
 
491
 
488
		<table width="100%" border="0" cellspacing="1" cellpadding="3" class='etable'>
492
		<table width="100%" border="0" cellspacing="1" cellpadding="3" class='etable'>
489
		  <tr> 
493
		  <tr> 
490
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr noCsv"><img src='images/spacer.gif' width='11' height='11' hspace='2'></th>
494
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr">Change</th>
491
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr">Name&nbsp;&nbsp;</th>
495
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr">Name&nbsp;&nbsp;</th>
492
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr">Current Version&nbsp;&nbsp;</th>
496
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field_hdr">Current Version&nbsp;&nbsp;</th>
493
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field_hdr">Previous Version</th>
497
		    <th background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field_hdr">Previous Version</th>
494
		  </tr>
498
		  </tr>
495
 
499
 
496
          <%
500
          <%
497
		    Dim style, icon
501
		    Dim style, icon, sText
498
            icon = Iif( Clng(DB_PV_ID) = cLng(parComparePvId),  "", LIMG_UPDATED)
502
            icon  = Iif( Clng(DB_PV_ID) = cLng(parComparePvId),  "", LIMG_UPDATED)
-
 
503
            sText = Iif( Clng(DB_PV_ID) = cLng(parComparePvId),  "No Change", "Changed")
499
          %>
504
          %>
500
	      <tr class=csvData>
505
	      <tr class=csvData>
501
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=icon%></td>
506
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr tcenter" data-csv="<%=sText%>"><%=icon%></td>
502
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=pkgInfoHash.Item("pkg_name")%></td>
507
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=pkgInfoHash.Item("pkg_name")%></td>
503
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=pkgInfoHash.Item("pkg_version")%></td>
508
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=pkgInfoHash.Item("pkg_version")%></td>
504
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=preVerText%></td>
509
		    <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field_hdr"><%=preVerText%></td>
505
		  </tr>
510
		  </tr>
506
          <%If (parFileDiff <> "") Then%>
511
          <%If (parFileDiff <> "") Then%>
Line 522... Line 527...
522
		    <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
527
		    <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
523
		  </tr>
528
		  </tr>
524
	  	  <%End If%>	
529
	  	  <%End If%>	
525
		  <%
530
		  <%
526
		  While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
531
		  While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
527
		  		Call RowStyle ( rsTemp("status"), icon, style )
532
		  		Call RowStyle ( rsTemp("status"), icon, style, sText )
528
		  %>
533
		  %>
529
		  
534
		  
530
		  	  <%If NOT dDepFilter.Exists(CStr( rsTemp("status") )) Then%>
535
		  	  <%If NOT dDepFilter.Exists(CStr( rsTemp("status") )) Then%>
531
				  <tr class=csvData>
536
				  <tr class=csvData>
532
				    <td background="images/bg_form_lightgray.gif" align="center"><%=icon%></td>
537
				    <td background="images/bg_form_lightgray.gif" align="center" data-csv="<%=sText%>"><%=icon%></td>
533
				    <td nowrap background="images/bg_form_lightgray.gif" class="<%=style%>">
538
				    <td nowrap background="images/bg_form_lightgray.gif" class="<%=style%>">
534
					<%If NOT IsNull(rsTemp("pkg_version")) Then%> 
539
					<%If NOT IsNull(rsTemp("pkg_version")) Then%> 
535
						<a href="<%=ScriptName &"?pv_id="& rsTemp("pv_id") &"&rtag_id="& parRtag_id %>" class="<%=style%>"><%=rsTemp("pkg_name")%></a>
540
						<a href="<%=ScriptName &"?pv_id="& rsTemp("pv_id") &"&rtag_id="& parRtag_id %>" class="<%=style%>"><%=rsTemp("pkg_name")%></a>
536
					<%Else%>
541
					<%Else%>
537
						<%=rsTemp("pkg_name")%>
542
						<%=rsTemp("pkg_name")%>