head	1.20;
access;
symbols;
locks; strict;
comment	@# @;


1.20
date	2001.08.24.01.39.32;	author tfahrner;	state Exp;
branches;
next	1.19;

1.19
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.18;

1.18
date	2001.08.03.05.45.05;	author tfahrner;	state Exp;
branches;
next	1.17;

1.17
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.16;

1.16
date	2001.07.31.01.18.38;	author tfahrner;	state Exp;
branches;
next	1.15;

1.15
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.14;

1.14
date	2001.07.30.21.59.21;	author tfahrner;	state Exp;
branches;
next	1.13;

1.13
date	2001.07.30.21.24.23;	author tfahrner;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.27.18.02.10;	author jrobbins;	state Exp;
branches;
next	1.11;

1.11
date	2001.07.26.20.21.33;	author leonardr;	state Exp;
branches;
next	1.10;

1.10
date	2001.06.20.03.38.06;	author jefflove;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.08.21.27.21;	author beril;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.08.04.25.09;	author jefflove;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.08.01.21.28;	author jefflove;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.08.01.20.05;	author jefflove;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.07.22.38.06;	author beril;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.29.19.40.54;	author ms;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.01.49.13;	author ms;	state Exp;
branches;
next	1.2;

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

1.1
date	2001.05.23.02.03.11;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.20
log
@removed redundant task links
@
text
@<div id="userlist" class="app">

 <h3>User List: $currentDomain.getName()</h3>
#if( $loginUser.isSuperUser() )
  #set( $paginatableList = ${currentDomain.getUsers($itemsPerPage, $filter)} )
#else
  #set( $paginatableList = ${currentDomain.getNonSystemUsers($itemsPerPage, $filter)} )
#end
#set( $userPage = $paginatableList.getPage($paginated_page) )
#set ($rowClass="a")
#if( !$userPage.isEmpty() )
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>User</th>
   <th>Real Name</th>
   <th>Email</th>
   <th>Organization</th>
  </tr>
 #set ($rowClass="a")
 #foreach( $user in $userPage )
  ## this is annoying : WM complains if you try to print a null, at least
  ## when it's the return value from a function.  work around that feature:
  #set( $organization = $user.getOrganization() )
  #if( !$organization )
       #set( $organization = "" )
  #end
  <tr class="$rowClass">
    <td nowrap="nowrap">
    #if( $acl.hasPermission("User - Edit", $user.getDomain()) )
     <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
    #else
     $user.getLoginName()
    #end
    </td>
    <td nowrap="nowrap">$user.getRealName()</td>
    <td nowrap="nowrap">$user.getEmail()</td>
    <td nowrap="nowrap">$organization</td>
   </tr>
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
 #end
</table>
#else
<p><strong class="alert">No matching users were found.</strong>
</p>
#end

#if( !$userPage.isEmpty() )
 <p class="paginate">
  ${paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>
  <form method="post" action="UserList">
   #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</div>
@


1.19
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a0 1

a3 9
 <p class="affordance">
 #if( $acl.hasPermission("User - Add", $currentDomain) )
   <a href="/servlets/UserAdd">Add New User</a> |
 #end 
 #if( $acl.hasPermission("User - Delete", $currentDomain) )
   <a href="/servlets/UserDelete">Mass User Delete</a> |
 #end
   <a href="/servlets/AllUserEmails">Get All User Emails</a>
 </p>
@


1.18
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a0 1
#parse( "Admin_Nav.vm" )
a2 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.17
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.16
log
@included "task nav" below headlines
@
text
@d1 2
@


1.15
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.14
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d2 3
@


1.13
log
@removed dependency on CSS for differentiation of alerts
@
text
@d2 1
a2 1
<div id="userlist">
d21 1
a21 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.12
log
@corrected link
@
text
@d56 2
a57 1
<p class="alert">No matching users were found.</p>
@


1.11
log
@Link to mass user delete functionality.
@
text
@d6 1
a6 1
   <a href="/servlets/UserDelete">Add New User</a> |
@


1.10
log
@html usage revision
@
text
@d6 4
a9 1
   <a href="UserAdd">Add New User</a>
d11 1
a11 1
   | <a href="/servlets/AllUserEmails">Get All User Emails</a>
@


1.9
log
@recoded the html according to new css/html standards
@
text
@d25 1
a44 1

d64 1
a64 1
</div>@


1.8
log
@general xhtml cleanup
@
text
@d57 1
a57 1
 <p>
@


1.7
log
@stripped leading space from anchor endtag
@
text
@d3 1
a3 1
 <h4>User List: $currentDomain.getName()</h4>
@


1.6
log
@simplified html further
@
text
@d6 1
a6 1
   <a href="UserAdd">Add New User </a>
@


1.5
log
@recoded the servlet pages according to the new css/html standards
@
text
@a1 1

d3 1
a3 1
 <h4>User List : $currentDomain.getName()</h4>
a9 9

 <table border="0" cellspacing="0" cellpadding="2" width="100%">
  <tr>
   <th>User</th>
   <th>Real Name</th>
   <th>Email</th>
   <th>Organization</th>
  </tr>

d18 7
a31 1

a49 1

d51 1
a51 1

d53 1
a53 5
 <tr>
  <td colspan="2">
   <p class="warning">No matching users were found.</p>
  </td>
 </tr>
a54 1
</table>
a59 1
 <p>
a62 1
 </p>
@


1.4
log
@fixed syntax errors
@
text
@d3 8
d12 7
a18 19
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" width="100%">
  <TR>
    <TD colspan="4" class="Header" nowrap>User List: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
    <TD colspan="3" class="PlainText" ALIGN="RIGHT">
      #if( $acl.hasPermission("User - Add", $currentDomain) )
       <A HREF="UserAdd">Add&nbsp;New&nbsp;User</a>
      #end
      &nbsp;&nbsp;&nbsp; <A HREF="/servlets/AllUserEmails">Get&nbsp;All&nbsp;User&nbsp;Emails</a>
    </TD>   
  </TR>
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">User</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef" nowrap>Real Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Email</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Organization</TD>
  </TR> 
d26 1
d35 6
a40 4
  <TR> 
   <TD class="PlainText" VALIGN="top" nowrap>
   #if( $acl.hasPermission("User - Edit", $user.getDomain()) )
    <A HREF="/servlets/UserEdit?userID=$user.getID()">
d42 12
a53 22
    </A>
   #else
    $user.getLoginName()
   #end
   </TD>
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getRealName()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getEmail()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$organization</TD> 
  </TR>
  <TR>
   <TD COLSPAN="7">
    <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>
#end
d55 1
a55 4
<TR>
<TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
${paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
</TD>
a56 1
</TR>
d58 5
a62 1
<span class="Warning">No matching users were found.</span>
d64 1
d66 11
a76 11
<TR>
  <TD valign="TOP" COLSPAN="7"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="7">
  <FORM METHOD="post" ACTION="UserList">
  #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </FORM>
  </TD>
</TR>
</TABLE>
@


1.3
log
@fixed broken args passing in templates made by conversion program
@
text
@d25 1
a25 1
  #set( $paginatableList = ${currentDomain.getUsers($itemsPerPage, $filter)}
d27 1
a27 1
  #set( $paginatableList = ${currentDomain.getNonSystemUsers($itemsPerPage, $filter)}
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d25 1
a25 1
  #set( $paginatableList = ${currentDomain.getUsers($itemsPerPage, )$filter)}
d27 1
a27 1
  #set( $paginatableList = ${currentDomain.getNonSystemUsers($itemsPerPage, )$filter)}
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
d82 1
a82 1
  #parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/paginate/Filter.vm" )
@

