1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
{extends "base_full.tpl.html"}
{block page_id}requirement{/block}
{block title}{/block}
{block "content"}
{if $set_analysis_result}
<script type="text/javascript">
<!--
opener.location.href = opener.location;
setTimeout('window.close()', 2000);
//-->
</script>
<br /><br />
<center>
<span>
{if $set_analysis_result == -1}
<b>{t}An error occurred while trying to run your query{/t}</b>
{elseif $set_analysis_result == 1}
<b>{t}Thank you, the impact analysis was updated successfully.{/t}</b>
{/if}
</span>
</center>
{else}
<script type="text/javascript">
<!--
function validate(f)
{
if (!isFloat(f.dev_time.value)) {
alert('{t escape=js}Please use only floating point numbers on the estimated development time field.{/t}');
selectField(f, 'dev_time');
return false;
}
if (isWhitespace(f.impact_analysis.value)) {
alert('{t escape=js}Please enter the impact analysis for this new requirement.{/t}');
selectField(f, 'impact_analysis');
return false;
}
return true;
}
//-->
</script>
<form name="set_analysis_form" onSubmit="return validate(this);" method="post">
<input type="hidden" name="cat" value="set_analysis">
<input type="hidden" name="isr_id" value="{$smarty.get.isr_id}">
<table align="center" width="100%" cellpadding="3">
<tr>
<td>
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr>
<td colspan="2">
<b>{t}Enter Impact Analysis{/t}</b>
</td>
</tr>
<tr>
<td width="120">
<b>{t}Estimated Dev. Time{/t}: *</b>
</td>
<td>
<input type="text" name="dev_time" size="6"> <span>({t}in hours{/t})</span>
{include file="error_icon.tpl.html" field="dev_time"}
</td>
</tr>
<tr>
<td width="120">
<b>{t}Impact <br />Analysis{/t}: *</b>
</td>
<td bgcolor="{$dark_color}">
<textarea name="impact_analysis" rows="10" style="width: 97%"></textarea>
{include file="error_icon.tpl.html" field="impact_analysis"}
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Update">
<input type="button" value="Close" onClick="window.close();">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{/if}
{/block}
|