Subversion Repositories DevTools

Rev

Rev 4042 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4042 Rev 4084
Line 2... Line 2...
2
'=====================================================
2
'=====================================================
3
'               Action Buttons
3
'               Action Buttons
4
'=====================================================
4
'=====================================================
5
%>
5
%>
6
<%Sub Action_Buttons ( SSwithTab )%>
6
<%Sub Action_Buttons ( SSwithTab )%>
-
 
7
   <%
-
 
8
   Dim isClosed
-
 
9
   isClosed = (ReleaseMode = enumDB_RELEASE_IN_CLOSED_MODE) OR (ReleaseMode = enumDB_RELEASE_IN_ARCHIVE_MODE)
7
   <%Select Case SSwithTab%>
10
   Select Case SSwithTab%>
8
   <%Case "Build Dependencies"%>
11
   <%Case "Build Dependencies"%>
9
      <table width="10" border="0" cellspacing="10">
12
      <table width="10" border="0" cellspacing="10">
10
         <tr>
13
         <tr>
11
            <%If ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )   Then%>
14
            <%If NOT isClosed AND ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )   Then%>
12
               <td align="center" nowrap valign="bottom">
15
               <td align="center" nowrap valign="bottom">
13
                  <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem">
16
                  <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem">
14
                     <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">
17
                     <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">
15
                     Add
18
                     Add
16
                  </a>
19
                  </a>
Line 41... Line 44...
41
 
44
 
42
   <%Case "Runtime Dependencies"%>
45
   <%Case "Runtime Dependencies"%>
43
      <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
46
      <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
44
         <table width="10" border="0" cellspacing="10">
47
         <table width="10" border="0" cellspacing="10">
45
            <tr>
48
            <tr>
46
               <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable Then%>
49
               <%If NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable) Then%>
47
                  <td align="center" nowrap valign="bottom">
50
                  <td align="center" nowrap valign="bottom">
48
                     <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem">
51
                     <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem">
49
                        <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">
52
                        <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">
50
                        Add
53
                        Add
51
                     </a>
54
                     </a>
Line 56... Line 59...
56
      <%End If%>
59
      <%End If%>
57
 
60
 
58
   <%Case "Patches"%>
61
   <%Case "Patches"%>
59
      <table width="10" border="0" cellspacing="10">
62
      <table width="10" border="0" cellspacing="10">
60
         <tr>
63
         <tr>
61
            <%If pkgInfoHash.Item ("dlocked") = "Y" AND NOT (ReleaseMode = enumDB_RELEASE_IN_CLOSED_MODE) Then%>
64
            <%If NOT isClosed AND (pkgInfoHash.Item ("dlocked") = "Y") Then%>
62
               <td align="center" nowrap valign="bottom">
65
               <td align="center" nowrap valign="bottom">
63
                  <a href="javascript:;" onClick="MM_openBrWindow('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','NewPatch','resizable=yes,scrollbars=yes,width=600,height=400')" class="abtnItem">
66
                  <a href="javascript:;" onClick="MM_openBrWindow('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','NewPatch','resizable=yes,scrollbars=yes,width=600,height=400')" class="abtnItem">
64
                     <img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">
67
                     <img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">
65
                     Add
68
                     Add
66
                  </a>
69
                  </a>
Line 102... Line 105...
102
                     Download
105
                     Download
103
                  </label>
106
                  </label>
104
               </td>
107
               </td>
105
            <%End If%>
108
            <%End If%>
106
            <%If (objAccessControl.IsActive("EditCriticalInfoForLockedPackage")) Then
109
            <%If (objAccessControl.IsActive("EditCriticalInfoForLockedPackage")) Then
107
                If (pkgInfoHash.Item ("dlocked") = "Y") AND (pkgInfoHash.Item ("release_notes_info") <> enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE) Then %>
110
                If NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "Y") AND (pkgInfoHash.Item ("release_notes_info") <> enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE)) Then %>
108
                   <td align="center" nowrap valign="bottom">
111
                   <td align="center" nowrap valign="bottom">
109
                      <a href="fixed_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&resetNotes=1" class="abtnItem">
112
                      <a href="fixed_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&resetNotes=1" class="abtnItem">
110
                         <img src="images/i_sync_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Regenerate Release Notes">
113
                         <img src="images/i_sync_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Regenerate Release Notes">
111
                         Regenerate Notes
114
                         Regenerate Notes
112
                      </a>
115
                      </a>
Line 124... Line 127...
124
      </table>
127
      </table>
125
 
128
 
126
   <%Case "Documentation"%>
129
   <%Case "Documentation"%>
127
      <table width="10" border="0" cellspacing="10">
130
      <table width="10" border="0" cellspacing="10">
128
         <tr>
131
         <tr>
-
 
132
            <% If NOT isClosed Then %>
129
            <td align="center" nowrap valign="bottom">
133
            <td align="center" nowrap valign="bottom">
130
               <a href="javascript:;" onClick="MM_openBrWindow('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=600,height=220')" class="abtnItem">
134
               <a href="javascript:;" onClick="MM_openBrWindow('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=600,height=220')" class="abtnItem">
131
                  <img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" title="Import document details from ERG document repository">
135
                  <img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" title="Import document details from ERG document repository">
132
                  Import From Document Repository
136
                  Import From Document Repository
133
               </a>
137
               </a>
134
            </td>
138
            </td>
-
 
139
            <%End If%>
135
         </tr>
140
         </tr>
136
      </table>
141
      </table>
137
 
142
 
138
   <%Case "Add Process"%>
143
   <%Case "Add Process"%>
139
      <table width="10" border="0" cellspacing="10">
144
      <table width="10" border="0" cellspacing="10">
140
         <tr>
145
         <tr>
141
            <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>
146
            <%If  NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R"))  Then%>
142
               <td align="center" nowrap valign="bottom">
147
               <td align="center" nowrap valign="bottom">
143
                  <a href="javascript:;" onClick="MM_openBrWindow('wAddProc.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=800,height=500')" class="abtnItem">
148
                  <a href="javascript:;" onClick="MM_openBrWindow('wAddProc.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=800,height=500')" class="abtnItem">
144
                     <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">
149
                     <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">
145
                     Add Process
150
                     Add Process
146
                  </a>
151
                  </a>