Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
5
%>
6
<%
7
'=====================================================
8
'					ISSUE NOTES
9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="_tabs.asp"-->
17
<!--#include file="common/cq_common_subs.asp"-->
18
<!--#include file="common/_popup_window_common.asp"-->
19
<%
20
'------------ ACCESS CONTROL ------------------
21
%>
22
<!--#include file="_access_control_general.asp"-->
23
<%
24
'------------ Variable Definition -------------
25
Dim rsCQ
26
Dim ddWidth
27
Dim parIss_db
28
Dim parIss_id
29
'------------ Constants Declaration -----------
30
'------------ Variable Init -------------------
31
Set pkgInfoHash = CreateObject("Scripting.Dictionary")
32
Set rsCQ = Server.CreateObject("ADODB.Recordset")
33
Call Get_Iss_Parameters ( parIss_db, parIss_id )
34
ddWidth = 20
35
'----------------------------------------------
36
%>
37
<%
38
Sub Get_Issue_Notes ( NNiss_db, NNiss_id, OOrsCQ )
39
	Dim SQLstr
40
	If Cint(NNiss_db) = enumCLEARQUEST_DEVI_ID Then
41
		SQLstr = _
42
		" SELECT dbid AS iss_id, new_num AS iss_num, headline AS summary, notes_log"&_
159 ghuddy 43
    "   FROM cq_devi.admin.software_issue si"&_
119 ghuddy 44
		"  WHERE si.dbid = "& NNiss_id
45
	End If
46
	OOrsCQ.ActiveConnection = CQ_conn
47
	OOrsCQ.Source = SQLstr
48
	OOrsCQ.CursorType = 0
49
	OOrsCQ.CursorLocation = 2
50
	OOrsCQ.LockType = 3
51
	OOrsCQ.Open()
159 ghuddy 52
End Sub
119 ghuddy 53
%>
54
<%
55
Call Get_Issue_Notes ( parIss_db, parIss_id, rsCQ )
56
%>
57
<!--#include file="_menu_def.asp"-->
58
<html>
59
<head>
60
<title>Release Manager</title>
61
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
62
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
63
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
64
<link rel="stylesheet" href="images/navigation.css" type="text/css">
65
<script language="JavaScript" src="images/common.js"></script>
66
<script language="JavaScript">
67
<!--
68
function height()
159 ghuddy 69
{
70
	if( typeof( window.innerWidth ) == 'number' )
119 ghuddy 71
	{
72
		h = window.innerHeight;
73
	}
74
	else if(document.documentElement&&(document.documentElement.clientHeight ))
75
	{
76
		h = document.documentElement.clientHeight;
159 ghuddy 77
	}
119 ghuddy 78
	else if( document.body &&	( document.body.clientWidth || document.body.clientHeight ) )
79
	{
80
		h = document.body.clientHeight;
159 ghuddy 81
	}
82
 
119 ghuddy 83
	var e = document.getElementById("LayerDescription");
159 ghuddy 84
 
119 ghuddy 85
	if (navigator.userAgent.indexOf('Internet Explorer'))
86
	{
87
		e.style.height = h - 150 + "px";
88
		e.style.overflow = "auto";
89
	}
90
	else
91
	{
92
		// This line shouldn't be run by IE; it doesn't seem to work. It gets run in Firefox, etc.
93
		e.style.minHeight= h - 150 + "px";
94
		e.style.overflow = "auto";
95
	}
96
}
97
//-->
98
</script>
99
 
100
 
101
</head>
102
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();height();" onresize="height();">
103
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
159 ghuddy 104
  <tr>
119 ghuddy 105
    <td width="1%" background="images/bg_lght_gray.gif">&nbsp;</td>
159 ghuddy 106
    <td width="100%" background="images/bg_lght_gray.gif"><span class="form_field"><br>&nbsp;Issue</span>
119 ghuddy 107
      <input name="FRpname" type="text" class="form_item" size="12" value="<%=rsCQ("iss_num")%>" readonly>
108
      <input name="FRpname2" type="text" class="form_item" size="80" value="<%=rsCQ("summary")%>" readonly> </td>
109
  </tr>
159 ghuddy 110
  <tr>
119 ghuddy 111
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="400"></td>
112
    <td valign="top" background="images/bg_form_lightbluedark.gif">
113
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
159 ghuddy 114
        <tr>
115
          <td align="right" background="images/bg_lght_gray.gif"><br>
119 ghuddy 116
            <!-- TABS ------------------------------------------->
117
            <%Call Generate_Tab_Menu ( TABarray4, "Notes", "blue" )%>
118
            <!------------------------------------------------------------->
119
          </td>
120
        </tr>
121
        <tr>
122
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
123
        </tr>
124
      </table><br>
125
      <table width="100%" border="0" cellspacing="5" cellpadding="1">
159 ghuddy 126
        <tr>
119 ghuddy 127
          <td background="images/bg_vtree_h1.gif">
128
		      <table width="100%" border="0" cellspacing="0" cellpadding="2">
159 ghuddy 129
		        <tr>
119 ghuddy 130
		          <td bgcolor="White" class="form_item"><span class="form_field">Notes Log</span><br>
131
					<div id="LayerDescription" style="height:height(); overflow: auto;">
132
					<%
133
					If NOT IsNull(rsCQ("notes_log")) OR (rsCQ("notes_log") <> "") Then
134
						Response.write NewLine_To_BR( Server.HTMLEncode( rsCQ("notes_log") ) )
135
					End If
136
					%>
137
					</div>
138
				  </td>
139
		        </tr>
140
		      </table>
141
		  </td>
142
        </tr>
143
      </table><br>
144
	  </td>
145
  </tr>
159 ghuddy 146
  <tr>
119 ghuddy 147
    <td background="images/bg_lght_gray.gif">&nbsp;</td>
148
    <td background="images/lbox_bg_blue.gif">&nbsp;</td>
149
  </tr>
150
</table>
151
</body>
152
</html>
153
 
154
 
155
<!-- DESTRUCTOR ------->
159 ghuddy 156
<!--#include file="common/destructor.asp"-->