head	1.2;
access;
symbols
	TIGRIS_0_9_0:1.1.0.8
	TIGRIS_0_8_4:1.1.0.6
	TIGRIS_NOV_12_2000:1.1
	OLDHELM:1.1.0.4
	TIGRIS_NOV_11_2000:1.1
	TIGRIS_SEP_13_2000:1.1.0.2
	TIGRIS_BASELINE:1.1;
locks; strict;
comment	@# @;


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

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


desc
@@


1.2
log
@/admin templates no longer used.
@
text
@<h1>Edit Project $project Privileges For $username
</h1>

<ul>
#if ($changed) {
  <li>
  Updated information on $username for project $project
  </li>
}
</ul>

<hr>

<h2>Project Privileges</h2>

#if ( $UserPermissions.accessAllowed("ProjectUser - Change")  && $loginUserIsProjectOwner) {

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

<table border>
#foreach $priv in $privList {
    #if ($priv.Value) {
        #set $checked = " checked"
    } #else {
        #set $checked = ""
    }
    <tr><td><input type=checkbox name="$priv.Name"
             value=true$checked>$priv.Text</td></tr>
}

    #if ($isProjectOwner) {
        #set $checked = " checked"
    } #else {
        #set $checked = ""
    }

    <tr><td><input type=checkbox name="isProjectOwner"
             value=true$checked> $username is an owner of project $project</td></tr>

</table>

</p>
<input type=submit name="Button" value="Change Privleges">
<input type=reset NAME="Button" value="Reset">
<input type=submit name="Button" value="Cancel">
</p>

</form>

} #else {
## base permission is ProjectUser - View
<table border>
#foreach $priv in $privList {
    #if ($priv.Value) {
        #set $checked = "YES"
    } #else {
        #set $checked = "NO"
    }
    <tr><td>$checked</td><td>$priv.Text</td></tr>
}

    #if ($isProjectOwner) {
        #set $checked = "YES"
    } #else {
        #set $checked = "NO"
    }
    <tr><td>$checked</td><td>$username is an owner of project $project</td></tr>

</table>

}

<hr>


<h2>Module Privileges</h2>

<p>User $username has listed privileges for the following modules
in project $project:

<ul>
#foreach $module in $modules {
<li>
[<a href="ModuleUserEdit?user=$username&project=$project&module=$module.module">Edit</a>]
$project/$module.module ($module.longname)
</li>
}
</ul>

<p>To add privileges for a module not listed, do so via the <a
href="ProjectEdit?project=$project">edit project page</a></p>

@


1.1
log
@iniital checkin
@
text
@@

