head	1.8;
access;
symbols
	TIGRIS_1_1_0RC2:1.7.6.1
	TIGRIS_1_1_0RC1:1.7.6.1
	TIGRIS_1_1:1.7.6.1.0.2
	TIGRIS_1_0_8:1.7
	TIGRIS_1_0_8RC3:1.7
	TIGRIS_1_0_8RC2:1.7
	TIGRIS_1_0_8RC1:1.7
	TIGRIS_1_0_7:1.7
	TIGRIS_1_0_7RC3:1.7
	TIGRIS_1_0_7RC2:1.7
	TIGRIS_1_0_7RC1:1.7
	TIGRIS_1_0_6:1.7
	TIGRIS_1_0_6RC5:1.7
	TIGRIS_1_0_6RC4:1.7
	TIGRIS_1_0_6RC3:1.7
	TIGRIS_1_0_6RC2:1.7
	TIGRIS_1_0_6RC1:1.7
	TIGRIS_1_0_5:1.7
	TIGRIS_1_0_5RC6:1.7
	TIGRIS_1_0_5RC5:1.7
	TIGRIS_1_0_5RC4:1.7
	TIGRIS_1_0_5RC3:1.7
	TIGRIS_1_0_5RC2:1.7
	TIGRIS_1_0_5RC1:1.7
	TIGRIS_1_0_4:1.7
	TIGRIS_1_0_3:1.7
	TIGRIS_1_0_2:1.7
	TIGRIS_1_0_1:1.7
	TIGRIS_1_0:1.7.0.6
	TIGRIS_1_0_0:1.7
	TIGRIS_1_0_0_RC1:1.7.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.1
	TIGRIS_0_9_2_3:1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.1
	TIGRIS_0_9_2_1:1.1
	TIGRIS_0_9_2:1.1.0.4
	TIGRIS_0_9_0:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.7;

1.7
date	2001.03.24.09.44.52;	author jrobbins;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	2001.03.24.09.06.04;	author jrobbins;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.24.08.39.49;	author jrobbins;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.06.01.51.57;	author jrobbins;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.05.21.41.13;	author leonardr;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.21.01.08.32;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.11.20.48.24;	author leonardr;	state Exp;
branches
	1.1.1.1
	1.1.6.1;
next	;

1.1.1.1
date	2001.02.21.00.37.00;	author dlr;	state Exp;
branches;
next	;

1.1.6.1
date	2001.01.31.02.05.52;	author leonardr;	state Exp;
branches;
next	1.1.6.2;

1.1.6.2
date	2001.02.06.01.52.15;	author leonardr;	state Exp;
branches;
next	1.1.6.3;

1.1.6.3
date	2001.02.12.17.20.32;	author leonardr;	state Exp;
branches;
next	;

1.7.6.1
date	2001.07.17.00.16.42;	author susank;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
 <TR>
  <TD CLASS="Header">Resource List</TD>      
  
 #if ($acl.hasPermission("Resource - Add"))
 {
  <TD><A HREF="ResourceAdd" align="RIGHT" class="PlainText">Add New Resource</a></TD>
 }
 </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0">

<TR>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef" WIDTH="30"> &nbsp; <SPACER TYPE="block" WIDTH="30"></TD>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef">Pattern</TD>
</TR>
#foreach $resource in $host.getResources()
{
 <TR> 
  <TD class="PlainText" nowrap>
  #if ($acl.hasPermission("Resource - Edit", $currentDomain))
  {
   <A HREF="ResourceEdit?resourceID=$resource.getID()">$resource.getDescription()</A>
  } #else {
   $resource.getDescription();
  }
  </TD> 
  <td></td>
  <TD class="PlainText" width="100%">$resource.getPattern()</TD> 
 </TR> 

  <TR>
   <TD COLSPAN="3">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>

}

</TABLE>

</FORM>









@


1.7
log
@removed links that are now reduntant with Admin_Nav.wm
@
text
@@


1.7.6.1
log
@added domain to Resource Add acl permission check
Issue number:  4951
Obtained from:
Submitted by:
Reviewed by:
@
text
@d7 1
a7 1
 #if ($acl.hasPermission("Resource - Add", $currentDomain))
@


1.6
log
@added much needed admin nav element
@
text
@d6 1
a6 1
  <TD><a href="RoleList" class="PlainText">Role List</a></TD>
d9 1
a9 1
  <TD><A HREF="ResourceAdd" class="PlainText">Add New Resource</a></TD>
@


1.5
log
@added style, spacing, divider lines, moved a few links around on the pages
@
text
@d1 2
@


1.4
log
@added style
@
text
@d3 1
a3 1
  <TD CLASS="Welcome">Resource List</TD>      
d12 1
a12 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
d16 1
d22 1
a22 1
  <TD class="PlainText" VALIGN="top">
d30 2
a31 1
  <TD class="PlainText">$resource.getPattern()</TD> 
d33 11
@


1.3
log
@Added links in and out of resource manipulation functionality.
@
text
@d4 1
a4 1
  <TD><a href="RoleList">Role List</a></TD>
d7 1
a7 1
  <TD><A HREF="ResourceAdd">Add New Resource</a></TD>
@


1.2
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d3 2
a4 2
  <TD CLASS="Welcome">Resource List</TD>       

d7 1
a7 1
  <TD><A HREF="ResourceAdd">Add New</a></TD>
@


1.1
log
@New servlet: ResourceList
@
text
@d5 1
a5 1
 #if ($acl.hasPermissionForHost("Resource - Add"))
d18 1
a18 1
#foreach $resource in $currentDomain.getResources()
d22 1
a22 1
  #if ($acl.hasPermissionForDomain("Resource - Edit", $currentDomain.getID()))
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d5 1
a5 1
 #if ($acl.hasPermission("Resource - Add"))
d18 1
a18 1
#foreach $resource in $host.getResources()
d22 1
a22 1
  #if ($acl.hasPermission("Resource - Edit", $currentDomain))
@


1.1.6.1
log
@Converted permission checking somewhat.
@
text
@d22 1
a22 1
  #if ($acl.hasPermissionForDomain("Resource - Edit", $currentDomain))
@


1.1.6.2
log
@Ported over resource manipulation servlets.
@
text
@d18 1
a18 1
#foreach $resource in $host.getResources()
@


1.1.6.3
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d5 1
a5 1
 #if ($acl.hasPermission("Resource - Add"))
d22 1
a22 1
  #if ($acl.hasPermission("Resource - Edit", $currentDomain))
@


