head	1.4;
access;
symbols
	TIGRIS_0_9_0:1.3.0.8
	TIGRIS_0_8_4:1.3.0.6
	TIGRIS_NOV_12_2000:1.3
	OLDHELM:1.3.0.4
	TIGRIS_NOV_11_2000:1.3
	TIGRIS_SEP_13_2000:1.3.0.2
	TIGRIS_BASELINE:1.3;
locks; strict;
comment	@# @;


1.4
date	2001.01.02.18.13.27;	author leonardr;	state dead;
branches;
next	1.3;

1.3
date	2000.08.29.22.15.18;	author jrobbins;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.25.19.01.00;	author jrobbins;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.02.05.22.43;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.4
log
@/admin templates no longer used.
@
text
@<h1>Edit Project $project</h1>

<ul>
#if ($changed) {
<font color="green">
    <li>Updated information for $project
</font>
}
</ul>

<hr>


<h2>Project Information</h2>

#if ( $UserPermissions.accessAllowed("Project - Update") && $isProjectOwner) {
<form method="POST" action="$servletName">
<input type=hidden name=project value="$project">

<table border>
<tr><th>Description</th>
<td><input type=text name=long_name value="$long_name" size=40></td></tr>
</table>

<p>
<input type=submit name="Button" value="Make Changes">
<input type=reset NAME="Button" value="Reset Form">
</p>

</form>
} #else {
## base permission is Project - View

<table border>
<tr><th>Description</th>
<td>$long_name</td></tr>
</table>
}

<h2>Modules</h2>

<p>Project $project has the following modules:</p>

<p>
<ul>
#foreach $module in $modules {
<li>
#if ( $UserPermissions.accessAllowed("Module - Change")  && $isProjectOwner) {
[<a href="ModuleEdit?project=$project&module=$module.Module">Edit</a>]
$module.Module ($module.LongName)
} #else {
#if ( $UserPermissions.accessAllowed("Module - View") ) {
[<a href="ModuleEdit?project=$project&module=$module.Module">View</a>]
$module.Module ($module.LongName)

}
}
</li>
}
</ul>

#if ( $UserPermissions.accessAllowed("Module - Add")  && $isProjectOwner) {
<ul>
<li><a href="ModuleAdd?project=$project">Add New Module</a>
</ul>
}

#if ( $UserPermissions.accessAllowed("ProjMail - Change")  && $isProjectOwner) {
<h2>Mailing Lists</h2>

<p>Project $project has the following mailing lists:</p>

<p><ul>
#foreach $list in $mailingLists {
<li>
[<a href="ProjMailEdit?project=$project&list=$list.List">Edit</a>]
$list.List
</li>
}
</ul>
} #else {
#if ( $UserPermissions.accessAllowed("ProjMail - View") ) {
<h2>Mailing Lists</h2>

<p>Project $project has the following mailing lists:</p>

<p><ul>
#foreach $list in $mailingLists {
<li>
[<a href="ProjMailEdit?project=$project&list=$list.List">View</a>]
$list.List
</li>
}
</ul>
}
}

#if ( $UserPermissions.accessAllowed("ProjMail - Add")  && $isProjectOwner) {
<ul>
<li><a href="ProjMailAdd?project=$project">Add New Mailing List</a>
</ul>
}


#if ( $UserPermissions.accessAllowed("ProjectUser - Change")  && $isProjectOwner) {
<h2>User Privileges</h2>

<p>Select a user to view project privileges for:</p>

<p><ul>
#foreach $user in $userList {
<li>
[<a href="ProjectUserEdit?project=$project&user=$user">Edit</a>]
$user
</li>
}
</ul>
} #else {
#if ( $UserPermissions.accessAllowed("ProjectUser - View") ) {
<h2>User Privileges</h2>

<p>Select a user to view project privileges for:</p>

<p><ul>
#foreach $user in $userList {
<li>
[<a href="ProjectUserEdit?project=$project&user=$user">View</a>]
$user
</li>
}
</ul>

}
}

#if ( $UserPermissions.accessAllowed("ProjectUser - Add")  && $isProjectOwner) {
<ul>
<li>
<a href="ProjectUserAdd?project=$project">Add
a project user permission</a>
</li>
</ul>
}

<p>



#if ( $UserPermissions.accessAllowed("Project - Delete")  && $isProjectOwner) {
<h2>Other Operations</h2>

<ul>
<li><a href="ProjectDelete?project=$project">Delete Project</a>
</ul>
}

@


1.3
log
@now status messages are in green
@
text
@@


1.2
log
@made Edit/View link condition correct
@
text
@d5 1
d7 1
@


1.1
log
@iniital checkin
@
text
@d46 1
a46 1
#if ( $UserPermissions.accessAllowed("Module - Change") ) {
@

