Subversion Repositories DevTools

Rev

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

Rev 5061 Rev 5086
Line 494... Line 494...
494
          bcan_unlock = canActionControlInProject("UnlockPatch")
494
          bcan_unlock = canActionControlInProject("UnlockPatch")
495
        Else
495
        Else
496
          bcan_unlock = canActionControlInProject("EditCriticalInfoForLockedPackage")
496
          bcan_unlock = canActionControlInProject("EditCriticalInfoForLockedPackage")
497
        End If
497
        End If
498
 
498
 
-
 
499
        If pkgInfoHash.Item("is_sdkpkg") Then bcan_unlock = FALSE
-
 
500
 
499
        Select Case pkgInfoHash.Item ("dlocked")
501
        Select Case pkgInfoHash.Item ("dlocked")
500
            Case "Y"  sstate = "Released"
502
            Case "Y"  sstate = "Released"
501
            Case "N"  sstate = "Not Released"
503
            Case "N"  sstate = "Not Released"
502
            Case "P"  sstate = "Not Released. Pending approval"
504
            Case "P"  sstate = "Not Released. Pending approval"
503
            Case "A"  sstate = "Not Released. Aproved for build"
505
            Case "A"  sstate = "Not Released. Aproved for build"
Line 531... Line 533...
531
                <a class='body_txt' title='<%=stitle%>' href='<%=shref%>' > <strong>Status:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
533
                <a class='body_txt' title='<%=stitle%>' href='<%=shref%>' > <strong>Status:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
532
         <%   Else %>
534
         <%   Else %>
533
                <a href='<%=shref%>' onClick='<%=slockonclick%>' class='body_txt' title='<%=stitle%>'> <strong>Status:</strong> <img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
535
                <a href='<%=shref%>' onClick='<%=slockonclick%>' class='body_txt' title='<%=stitle%>'> <strong>Status:</strong> <img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
534
         <%   End If %>
536
         <%   End If %>
535
         <% Else %>
537
         <% Else %>
536
              <b><strong>Status:</strong></b>
538
              <strong>Status:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Edit'>
537
         <% End If %>
539
         <% End If %>
538
         </td>
540
         </td>
539
         <td bgcolor=#f5f5f5 class="sublbox_txt"><%=sstate%></td>
541
         <td bgcolor=#f5f5f5 class="sublbox_txt"><%=sstate%></td>
540
      </tr>
542
      </tr>
541
 
543
 
Line 574... Line 576...
574
        shref = "mailto:"& smail
576
        shref = "mailto:"& smail
575
      %>
577
      %>
576
      
578
      
577
      <tr>
579
      <tr>
578
        <td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
580
        <td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
579
          <%If objAccessControl.UserLogedIn() Then%>
581
          <%If objAccessControl.UserLogedIn() AND NOT pkgInfoHash.Item("is_sdkpkg") Then%>
580
            <a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
582
            <a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
581
            <strong>Owner:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Change owner'>
583
            <strong>Owner:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Change owner'>
582
            </a>&nbsp;
584
            </a>&nbsp;
583
          <%Else%>
585
          <%Else%>
584
            <strong>Owner:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Change owner'>
586
            <strong>Owner:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Change owner'>
Line 803... Line 805...
803
         <tr>
805
         <tr>
804
            <td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
806
            <td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
805
            <%
807
            <%
806
            ' Previous Version
808
            ' Previous Version
807
            sonclick="MM_openBrWindow(""_wform_change_previous_version.asp?rfile="& scriptName &"&pv_id="& parPv_id &"&rtag_id="& parRtag_id &""",""ChangeOwner"",""resizable=yes,width=400,height=200"")"
809
            sonclick="MM_openBrWindow(""_wform_change_previous_version.asp?rfile="& scriptName &"&pv_id="& parPv_id &"&rtag_id="& parRtag_id &""",""ChangeOwner"",""resizable=yes,width=400,height=200"")"
808
            If canActionControlInProject("ChangePreviousVersion") Then
810
            If canActionControlInProject("ChangePreviousVersion") AND NOT pkgInfoHash.Item("is_sdkpkg") Then
809
            %>
811
            %>
810
               <a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
812
               <a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
811
               <strong>Previous Version:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Edit'>
813
               <strong>Previous Version:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Edit'>
812
               </a>
814
               </a>
813
            <%Else%>
815
            <%Else%>