head	1.3;
access;
symbols
	TIGRIS_0_9_0:1.2.0.8
	TIGRIS_0_8_4:1.2.0.6
	TIGRIS_NOV_12_2000:1.2
	OLDHELM:1.2.0.4
	TIGRIS_NOV_11_2000:1.2
	TIGRIS_SEP_13_2000:1.2.0.2
	TIGRIS_BASELINE:1.2;
locks; strict;
comment	@# @;


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

1.2
date	2000.08.29.22.15.18;	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.3
log
@/admin templates no longer used.
@
text
@<h1>Edit Module $project/$module</h1>

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

<hr>

<h2>Module Information</h2>

#if ( $UserPermissions.accessAllowed("Module - Change") && $isModuleOwner) {

<form method="POST" action="$servletName"> 
<input type=hidden name="project" value="$project">
<input type=hidden name="module" value="$module">

<table border>
<tr><th>Description</th>
<td><input type=text name=long_name value="$long_name" size=40></td></tr>
#if ($privateModule) {
    #set $checked = " CHECKED"
} #else {
    #set $checked = ""
}
<tr><td colspan=2><input type=checkbox name=private value=true$checked>
Module is private in the project</td></tr>
</table>

<p>
<input type=submit name="Button" value="Make Changes">
<input type=reset name="Button" value="Cancel">
</p>

</form>

} #else {
## base permission is Module - View

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

<tr><td colspan=2>
This module
#if ($privateModule) {
    is
} #else {
    is not
}
private in the project.</td></tr>
</table>

}


#if ( $UserPermissions.accessAllowed("ModuleUser - Delete") && $isModuleOwner) {
<h2>User Privileges</h2>

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

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

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

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

}
}



#if ( $UserPermissions.accessAllowed("ModuleUser - Add") && $isModuleOwner) {
<ul>
<li>
<a
href="ModuleUserAdd?project=$project&module=$module">Add user</a>
</li>
</ul>
}



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

<ul>
<li><a href="ModuleDelete?project=$project&module=$module">Delete
Module</a>
</ul>
}

@


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


1.1
log
@iniital checkin
@
text
@d5 1
d7 1
@

