Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

<%
'=====================================================
'                                       Action Buttons
'=====================================================
%>
<%Sub Action_Buttons ( SSwithTab )%>
        <%Select Case SSwithTab%>
        <%Case "Build Dependencies"%>
            <table width="10" border="0" cellspacing="10">
             <tr> 
                   <%If ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") )   Then%>
                   <td align="center" nowrap valign="bottom"><a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem"><img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">Add</a></td>
                   <td align="center" nowrap valign="bottom"><a href="form_edit_deps.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_edit_deps.gif" width="23" height="24" align="absmiddle" border="0" hspace="3" alt="Edit dependency list.">Edit</a></td>
                   <td align="center" nowrap valign="bottom"><a href="form_update_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Import dependency list from your build file.">Import</a></td>
                   <%End If%>
               <td align="center" nowrap valign="bottom"><a href="form_export_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_export_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Export this dependency list to be used in your build file.">Export</a></td>
             </tr>
           </table>
   <%Case "Runtime Dependencies"%>
   <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
            <table width="10" border="0" cellspacing="10">
             <tr> 
                   <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>
                   <td align="center" nowrap valign="bottom"><a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem"><img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">Add</a></td>
                   <%End If%>
             </tr>
           </table>
   <%End If%>
   <%Case "Patches"%>
    <table width="10" border="0" cellspacing="10">
     <tr>
           <%If pkgInfoHash.Item ("dlocked") = "Y" AND NOT (ReleaseMode = enumDB_RELEASE_IN_CLOSED_MODE) Then%>
           <td align="center" nowrap valign="bottom"><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"><img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">Add</a></td>
           <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_obsolete_all_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ObsoletePatches','resizable=yes,scrollbars=yes,width=500,height=800')" class="abtnItem"><img src="images/abtn_obsolete_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Obsolete patches in one go.">Roll-up Obsolete Patches</a></td>
           <%   If objAccessControl.IsVisible("ReleasePatch") Then%>
                   <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_make_release_bulk_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','BulkReleasePatches','resizable=yes,scrollbars=yes,width=355,height=600')" class="abtnItem"><img src="images/abtn_make_release_bulk_patches.gif" width="25" height="25" align="absmiddle" border="0" hspace="3" alt="Make Release patches in one go.">Make Release Bulk Patches</a></td>
           <%   End If%>        
           <%End If%>
     </tr>
   </table>
   <%Case "Release Notes"%>
   <table width="10" border="0" cellspacing="10">
     <tr>
         <%If (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info")) Then%> 
           <td align="center" nowrap valign="bottom"><a href="<%=enumHTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")%>" class="abtnItem"><img src="images/btn_download.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Download full release notes.">Download</a></td>
         <%Else%>
           <td align="center" nowrap valign="bottom" class="abtnItem"><img src="images/btn_download_off.gif" width="22" height="22" align="absmiddle" border="0" hspace="3"><label disabled>Download</label></td>
         <%End If%>
     </tr>
   </table>
   <%Case "Documentation"%>
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><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"><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">Import From Document Repository</a></td>
     </tr>
   </table>
   <%Case "Add Process"%>
   <table width="10" border="0" cellspacing="10">
     <tr>
        <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>        
                <td align="center" nowrap valign="bottom"><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"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">Add Process</a></td>
        <%End If%>      
     </tr>
   </table>  
   <%Case "Add GBE_MACHTYPE"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddMachtype.asp','AddGBETYPE','resizable=yes,width=600,height=220')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">Add GBE_MACHTYPE</a></td>
     </tr>
   </table>   
   <%Case "Add Daemon"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddDaemon.asp?rtag_id=<%=parRtag_id%>','AddDaemon','resizable=yes,width=600,height=220')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon">Add Daemon</a></td>
     </tr>
   </table>     

   <%Case "Add Schedule"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddSchedule.asp','AddSchedule','resizable=yes,width=450,height=270')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Schedule">Add Schedule</a></td>
     </tr>
   </table> 

   <%Case "Indefinite Pause"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><a href="_setInfinitePause.asp" class="abtnItem"><img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">Set Indefinite Pause</a></td>
     </tr>
   </table>  
   
   <%Case "Resume"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom"><a href="_setResume.asp" class="abtnItem"><img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">Set Resume</a></td>
     </tr>
   </table>  
   
   
   <%Case "Daemon Pause"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom">
                        <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
                        <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
                        </a>
                </td>
     </tr>
   </table>
   
        <%Case "Daemon Pause Disabled"%> 
        <table width="10" border="0" cellspacing="10">
         <tr>
                <td align="center" nowrap valign="bottom">
                <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
                </td>
         </tr>
        </table>  
        
   <%Case "Daemon Resume"%> 
   <table width="10" border="0" cellspacing="10">
     <tr>
                <td align="center" nowrap valign="bottom">
                        <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
                        <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
                        </a>
                </td>
     </tr>
   </table>
   
        <%Case "Daemon Resume Disabled"%> 
        <table width="10" border="0" cellspacing="10">
         <tr>
                <td align="center" nowrap valign="bottom"><img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume"></td>
         </tr>
        </table>                    
   <%End Select%>
<%End Sub%>