Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
5357 dpurdie 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
Call Get_Iss_Parameters ( parIss_db, parIss_id )
33
ddWidth = 20
34
'----------------------------------------------
35
%>
36
<%
37
Sub Get_Issue_Notes ( NNiss_db, NNiss_id, OOrsCQ )
38
    Dim SQLstr
39
    If Cint(NNiss_db) = enumCLEARQUEST_DEVI_ID Then
40
        SQLstr = _
41
        "SELECT dbid AS iss_id, new_num AS iss_num, headline AS summary, dbms_lob.substr( notes_log, 4000, 1 ) as notes_log"&_
42
        " FROM release_manager.CQ_software_issue si"&_
43
        " WHERE si.dbid = "& NNiss_id
44
    End If
45
    Set OOrsCQ = OraDatabase.DbCreateDynaset( SQLstr, cint(0))
46
End Sub
47
%>
48
<%
49
Call Get_Issue_Notes ( parIss_db, parIss_id, rsCQ )
50
%>
51
<!--#include file="_menu_def.asp"-->
52
<html>
53
<head>
54
<title>Release Manager</title>
55
<link rel="shortcut icon" href="<%=FavIcon%>"/>
56
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
57
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
58
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
59
<link rel="stylesheet" href="images/navigation.css" type="text/css">
60
<script language="JavaScript" src="images/common.js"></script>
61
<script language="JavaScript">
62
<!--
63
function height()
64
{
65
	if( typeof( window.innerWidth ) == 'number' )
66
	{
67
		h = window.innerHeight;
68
	}
69
	else if(document.documentElement&&(document.documentElement.clientHeight ))
70
	{
71
		h = document.documentElement.clientHeight;
72
	}
73
	else if( document.body &&	( document.body.clientWidth || document.body.clientHeight ) )
74
	{
75
		h = document.body.clientHeight;
76
	}
77
 
78
	var e = document.getElementById("LayerDescription");
79
 
80
	if (navigator.userAgent.indexOf('Internet Explorer'))
81
	{
82
		e.style.height = h - 150 + "px";
83
		e.style.overflow = "auto";
84
	}
85
	else
86
	{
87
		// This line shouldn't be run by IE; it doesn't seem to work. It gets run in Firefox, etc.
88
		e.style.minHeight= h - 150 + "px";
89
		e.style.overflow = "auto";
90
	}
91
}
92
//-->
93
</script>
94
 
95
 
96
</head>
97
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();height();" onresize="height();">
98
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
99
  <tr>
100
    <td width="1%" background="images/bg_lght_gray.gif">&nbsp;</td>
101
    <td width="100%" background="images/bg_lght_gray.gif"><span class="form_field"><br>&nbsp;Issue</span>
102
      <input name="FRpname" type="text" class="form_item" size="12" value="<%=rsCQ("iss_num")%>" readonly>
103
      <input name="FRpname2" type="text" class="form_item" size="80" value="<%=rsCQ("summary")%>" readonly> </td>
104
  </tr>
105
  <tr>
106
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="400"></td>
107
    <td valign="top" background="images/bg_form_lightbluedark.gif">
108
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
109
        <tr>
110
          <td align="right" background="images/bg_lght_gray.gif"><br>
111
            <!-- TABS ------------------------------------------->
112
            <%Call Generate_Tab_Menu ( TABarray4, "Notes", "blue" )%>
113
            <!------------------------------------------------------------->
114
          </td>
115
        </tr>
116
        <tr>
117
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
118
        </tr>
119
      </table><br>
120
      <table width="100%" border="0" cellspacing="5" cellpadding="1">
121
        <tr>
122
          <td background="images/bg_vtree_h1.gif">
123
		      <table width="100%" border="0" cellspacing="0" cellpadding="2">
124
		        <tr>
125
		          <td bgcolor="White" class="form_item"><span class="form_field">Notes Log</span><br>
126
					<div id="LayerDescription" style="height:height(); overflow: auto;">
127
					<%
128
					If NOT IsNull(rsCQ("notes_log")) OR (rsCQ("notes_log") <> "") Then
129
						Response.write NewLine_To_BR( Server.HTMLEncode( rsCQ("notes_log") ) )
130
					End If
131
					%>
132
					</div>
133
				  </td>
134
		        </tr>
135
		      </table>
136
		  </td>
137
        </tr>
138
      </table><br>
139
	  </td>
140
  </tr>
141
  <tr>
142
    <td background="images/bg_lght_gray.gif">&nbsp;</td>
143
    <td background="images/lbox_bg_blue.gif">&nbsp;</td>
144
  </tr>
145
</table>
146
</body>
147
</html>
148
 
149
 
150
<!-- DESTRUCTOR ------->
151
<!--#include file="common/destructor.asp"-->