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


1.22
date	2001.08.30.17.38.01;	author dlr;	state Exp;
branches;
next	1.21;

1.21
date	2001.08.30.01.02.46;	author dlr;	state Exp;
branches;
next	1.20;

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

1.19
date	2001.08.13.22.51.03;	author leonardr;	state Exp;
branches;
next	1.18;

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

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

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

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

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

1.13
date	2001.07.27.22.36.07;	author leonardr;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.05.22.21.40;	author leonardr;	state Exp;
branches;
next	1.11;

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

1.10
date	2001.06.27.04.03.44;	author jrobbins;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.18.18.42.30;	author jefflove;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.14.19.29.03;	author neil;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.11.22.17.28;	author neil;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.09.01.05.45;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.05.25.19.33.17;	author elicia;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.25.01.19.53;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.01.01.05;	author dlr;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.22
log
@Don't forget to print license name.
@
text
@<div id="projecthome" class="app">


#set($myRoles = $loginUser.getRolesInProject($currentProject))
#set($myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject))

#if($currentProject.isCategory())
 #set($projectType = "Category")
#elseif($currentProject.isGroup())
 #set($projectType = "Group")
#else
 #set($projectType = "Project")
#end

<h3>$projectType: $currentProject.getWordMark()</h3>

#if(!$currentProject.isApproved())  
 <p>(<strong class="alert">Pending Approval</strong> 
 #if($acl.hasPermission("Project - Approve", $currentProject))  
  | <a href="$currentProject.getProjectPageURL("ProjectApproval")">Approve</a>
 #end   
 )</p>
#end   

#if($currentProject.isLocked())
 <p>(<strong class="alert">Locked</strong>
 #if($acl.hasPermission("Project - Lock", $currentProject))  
  | <a href="$currentProject.getProjectPageURL("ProjectLocked")">Unlock</a>
 #end   
 )</p>  
#end

<dl>
<dt>Summary:</dt>
 <dd>$currentProject.getShortDescription()</dd>

#if($currentProject.isBase())
 #set($categories = $currentProject.getCategories())
 <dt>
 #if($categories.size() == 1)
    Category:
  #else
    Categories:
 #end
 </dt> 
 <dd>
 #if($categories.isEmpty())
     None 
  #else
   #set($commaHolder = "")
   #foreach($category in $categories)
      $commaHolder $category.getName()  
      #set($commaHolder = ",")
   #end 
 #end 
 </dd>   
#end

#if (!$currentProject.isGroup())
 #set($groups = $currentProject.getProjectGroups())
 #if(!$groups.isEmpty())
  <dt>
  #if($groups.size() == 1)
     Project Group:
   #else
     Project Groups:
  #end
  </dt> 
  <dd>
  #set($commaHolder = "")
  #foreach($group in $groups)
     $commaHolder $group.getName()  
     #set($commaHolder = ",")
  #end 
  </dd>  
 #end
#end

#if($currentProject.isBase()) 
 #set ($license = $currentProject.getLicense())
 #if ($license)
 <dt>License:</dt>
 <dd>$license.getName()</dd>
 #end
#end

#set($owners = $currentProject.getOwners())
#if(!$owners.isEmpty())
 <dt>Owner(s):</dt>
 <dd>
 #foreach($owner in $currentProject.getOwners())
     <a href="mailto:$owner.getDomainEmail()">$owner.getLoginName()</a>
 #end
 </dd>   
#end

#if(!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
 <dt>Your Role(s):</dt> 
 <dd>
 #foreach($role in $myRoles)
      <a href="/servlets/RoleView?roleID=$role.getID()">$role.getFullName()</a>
 #end
 #foreach($role in $myRequestedRoles)
      <a href="/servlets/RoleView?roleID=$role.getID()">$role.getFullName()</a> <strong class="alert">(Pending)</strong>
 #end
 </dd>   
</dl>
#end

#if($currentProject.isLocked())  
<p><strong class="alert">
 #if($loginUser.isProjectOwner($currentProject))
Your project is currently locked. This means your project's source repository, 
mailing lists, and issue tracker are disabled. Contact the site administrator 
immediately for further information.
 #else
This project is currently disabled. Access to the project's source repository, mailing lists, and issue tracker is read-only. Until the project is reactivated, no project files or data can be modified.
 #end
</strong>
</p>
#end

#set($ownerMsg = $currentProject.getStatus())
#if($ownerMsg && $ownerMsg.length() > 0)

<h4>Message From the Owner(s)</h4>

<p>$ownerMsg</p>

#end

#if(!$currentProject.getLongDescription().equals(""))
 <p>$currentProject.getLongDescription()</p>
#end

#set($subprojects = $currentProject.getSubprojects($acl))
#if (!$subprojects.isEmpty())
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Sub$projectType.toLowerCase()</th>
   <th>Summary</th> 
  </tr>
  #set ($rowClass2="a")
  #foreach($project in $subprojects)
   <tr class="$rowClass2"> 
    <td><a href="$project.getProjectHome()">$project.getWordMark()</a></td>
    <td>$project.getShortDescription()</td>
   </tr>

   #if ($rowClass2.equals("a"))
     #set ($rowClass2="b")
   #else 
     #set ($rowClass2="a")
   #end
  #end
 </table> 
#end

#if($currentProject.isGroup() || $currentProject.isCategory())

 #set( $paginatableList = $currentProject.getProjects($itemsPerPage, $filter, $acl) )
 #set( $projectPage = $paginatableList.getPage($paginated_page) )
 #if($projectPage.isEmpty() )
  <p><strong class="alert">
   There are not yet any projects in this $projectType.toLowerCase().
  </strong>
</p>
 #else  
  <table border="1" cellspacing="2" cellpadding="3" width="100%">
   <tr>
    <th>Project Name</th>
    <th>Summary</th> 
   </tr>
   #set ($rowClass2="a")
   #foreach($project in $projectPage)
    <tr class="$rowClass2"> 
     <td><a href="$project.getProjectHome()">$project.getWordMark()</a></td>
     <td>$project.getShortDescription()</td>
    </tr>

    #if ($rowClass2.equals("a"))
     #set($rowClass2="b")
    #else
     #set ($rowClass2="a")
    #end
   #end
  </table>

  <p class="paginate">
   $paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)
  </p>
   <form method="post" action="/">
    #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
   </form>
 #end
#end

</div>
@


1.21
log
@Don't show the license if there isn't one (like is currently the
situation for the look project).
@
text
@d80 1
a80 1
 #set ($license = $currentProject.getLicense().getName())
d82 2
a83 2
 <dt>License:</dt> 
 <dd></dd>
@


1.20
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@d80 2
d83 2
a84 1
 <dd>$currentProject.getLicense().getName()</dd>
@


1.19
log
@Added pagination to ProjectHome's list of associated projects and ProjectMemberList's list of members.
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d123 1
a123 1
<h4>Message From the Owner(s):</h4>
@


1.18
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a159 1
 #set($projects = $currentProject.getProjects($acl))
d161 3
a163 1
 #if($projects.isEmpty())
a173 1
   #set($projects = $currentProject.getProjects($acl))
d175 1
a175 1
   #foreach($project in $projects)
d188 7
@


1.17
log
@included "task nav" below headlines
@
text
@a4 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


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


1.15
log
@html usage revision to synch with scarab
@
text
@d2 3
@


1.14
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="projecthome">
d134 1
a134 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
d164 1
a164 1
  <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.13
log
@Made Role.getName() get unqualified role name; this was neccessary because BaseRolePeer calls Role.getName(), which was causing roles to be created with their fully-qualified names being stored where their unqualified names should be. Templates which used to use Role.getName() now need to use Role.getFullName()
@
text
@d17 1
a17 1
 <p>(<span class="alert">Pending Approval</span> 
d25 1
a25 1
 <p>(<span class="alert">Locked</span>
d100 1
a100 1
      <a href="/servlets/RoleView?roleID=$role.getID()">$role.getFullName()</a> <span class="alert">(Pending)</span>
d107 1
a107 1
<p class="alert">
d115 1
d159 1
a159 1
  <p class="alert">
d161 2
a162 1
  </p>
@


1.12
log
@Licenses are now contained in a database-managed table rather than in a custom Java class (yay!)
@
text
@d97 1
a97 1
      <a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a>
d100 1
a100 1
      <a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a> <span class="alert">(Pending)</span>
@


1.11
log
@Implemented basic project group and category nesting.
@
text
@d80 1
a80 1
 <dd>$currentProject.getLicense()</dd>
@


1.10
log
@corrected some sevlet HREFs such that they do not assume that the
current uri includes "/servlets/" because that is not always the case.
@
text
@d3 2
a4 2
#set( $myRoles = $loginUser.getRolesInProject($currentProject) )
#set( $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject) )
d6 4
a9 4
#if( $currentProject.isCategory() )
	#set( $projectType = "Category" )
#elseif( $currentProject.isGroup() )
	#set( $projectType = "Group" )
d11 1
a11 1
	#set( $projectType = "Project" )
d16 6
a21 6
#if( !$currentProject.isApproved() )  
			<p>(<span class="alert">Pending Approval</span> 
	#if( $acl.hasPermission("Project - Approve", $currentProject) )  
				| <a href="/servlets/ProjectApproval">Approve</a>
	#end   
			)</p>
d24 6
a29 6
#if( $currentProject.isLocked() )
			<p>(<span class="alert">Locked</span>
	#if( $acl.hasPermission("Project - Lock", $currentProject) )  
					| <a href="/servlets/ProjectLocked">Unlock</a>
	#end   
				)</p>  
a31 36

<p class="affordance">

#if( $currentProject.isGroup() )
	#if( $acl.hasPermission("ProjectGroup - Edit", $currentProject) )  
				<a href="/servlets/ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
					this $projectType</a>
	#end
#else
	#if( $acl.hasPermission("Project - Edit", $currentProject) )  
				<a href="$currentProject.getProjectPageURL("ProjectEdit")">Edit 
					this $projectType</a>
	#end
#end

#if( !$currentProject.isCategory() )
	#if( $acl.hasPermission("Project - Edit", $currentProject) )
				| 
	#end 

	#if( $loginUser && !$loginUser.isAnonymous() )
			#if( $acl.hasPermission("Project Role - Request", $currentProject) )
					#if( $myRoles.isEmpty() && $myRequestedRoles.isEmpty() )
									<a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</a>
					#else
									<a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</a>
					#end 
			#end 
	#else
					If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.    
	#end
#end 

</p> 


d34 1
a34 1
	<dd>$currentProject.getShortDescription()</dd>
d36 68
a103 66
#if( !$currentProject.isGroup() )
	#set( $categories = $currentProject.getCategories() )
	<dt>
	#if( $categories.size() == 1 )
				Category:
		#else
				Categories:
	#end
	</dt> 
	<dd>
	#if( $categories.isEmpty() )
					None 
		#else
			#set( $commaHolder = "" )
			#foreach( $category in $categories )
						$commaHolder $category.getName()  
						#set( $commaHolder = "," )
			#end 
	#end 
	</dd>   
#end

#set( $groups = $currentProject.getProjectGroups() )
#if( !$groups.isEmpty() )
	<dt>
	#if( $groups.size() == 1 )
				Project Group:
		#else
				Project Groups:
	#end
	</dt> 
	<dd>
	#set( $commaHolder = "" )
	#foreach( $group in $groups )
				$commaHolder $group.getName()  
				#set( $commaHolder = "," )
	#end 
	</dd>  
#end

#if( !$currentProject.isGroup() ) 
	<dt>License:</dt> 
	<dd>$currentProject.getLicense()</dd>

#end

#set( $owners = $currentProject.getOwners() )
#if( !$owners.isEmpty() )
	<dt>Owner(s):</dt>
	<dd>
	#foreach( $owner in $currentProject.getOwners() )
					<a href="mailto:$owner.getDomainEmail()">$owner.getLoginName()</a>
	#end
	</dd>   
#end

#if( !($myRoles.isEmpty() && $myRequestedRoles.isEmpty()) )
	<dt>Your Role(s):</dt> 
	<dd>
	#foreach( $role in $myRoles )
						<a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a>
	#end
	#foreach( $role in $myRequestedRoles )
						<a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a> <span class="alert">(Pending)</span>
	#end
	</dd>   
a104 1
</dl>
d106 1
a106 2

#if( $currentProject.isLocked() )  
d108 1
a108 1
	#if( $loginUser.isProjectOwner($currentProject) )
d112 1
a112 1
	#else
d114 1
a114 1
	#end
d118 2
a119 2
#set( $ownerMsg = $currentProject.getStatus() )
#if( $ownerMsg && $ownerMsg.length() > 0 )
d123 1
a123 7
#if( $acl.hasPermission("Project - Edit", $currentProject) )
##    <p class="affordance"><a href="$currentProject.getProjectPageURL("projecteditinfo")">Edit</a></p>
#end 

<p>
$ownerMsg
</p>
d127 2
a128 37
#if( $currentProject.getLongDescription()!="" )
<p>
$currentProject.getLongDescription()    
</p>
#end

#if( $currentProject.isGroup() )
#set( $projects = $currentProject.getProjects($acl) )

	#if( $projects.isEmpty() )
		<p class="alert">
			There are not yet any projects in this ${projectType.toLowerCase()}.
		</p>
	#else  
	
		<table border="0" cellspacing="0" cellpadding="2" width="100%">
			<tr>
				<th>Project Name</th>
				<th>Summary</th> 
			</tr>
		#set( $projects = $currentProject.getProjects($acl) )
		#set ($rowClass2="a")
		#foreach( $project in $projects )
			<tr class="$rowClass2"> 
				<td><a href="$project.getProjectHome()">$project.getWordMark()</a></td>
				<td>$project.getShortDescription()</td>
			</tr>

			#if ($rowClass2.equals("a"))
					#set ($rowClass2="b")
			#else 
					#set ($rowClass2="a")
			#end

		#end
		</table>
		
d131 52
@


1.9
log
@html usage revisions
@
text
@d37 1
a37 1
				<a href="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
d132 1
a132 1
						<a href="RoleView?roleID=$role.getID()">$role.getName()</a>
d135 1
a135 1
						<a href="RoleView?roleID=$role.getID()">$role.getName()</a> <span class="alert">(Pending)</span>
@


1.8
log
@ui recoded
@
text
@d7 1
a7 1
  #set( $projectType = "Category" )
d9 1
a9 1
  #set( $projectType = "Group" )
d11 1
a11 1
  #set( $projectType = "Project" )
d17 5
a21 5
    (<span class="alert">Pending Approval</span> 
  #if( $acl.hasPermission("Project - Approve", $currentProject) )  
     | <a href="/servlets/ProjectApproval">Approve</a>
  #end   
    )
d24 6
a29 6
#if( $currentProject.isLocked() )  
    (<span class="alert">Locked</span>
  #if( $acl.hasPermission("Project - Lock", $currentProject) )  
      | <a href="/servlets/ProjectLocked">Unlock</a>
  #end   
     )   
d36 4
a39 4
  #if( $acl.hasPermission("ProjectGroup - Edit", $currentProject) )  
     <a href="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
      this $projectType</a>
  #end
d41 4
a44 4
  #if( $acl.hasPermission("Project - Edit", $currentProject) )  
     <a href="$currentProject.getProjectPageURL("ProjectEdit")">Edit 
      this $projectType</a>
  #end
d48 15
a62 15
  #if( $acl.hasPermission("Project - Edit", $currentProject) )
     | 
  #end 
 
  #if( $loginUser && !$loginUser.isAnonymous() )
    #if( $acl.hasPermission("Project Role - Request", $currentProject) )
      #if( $myRoles.isEmpty() && $myRequestedRoles.isEmpty() )
          <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</a>
      #else
          <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</a>
      #end 
    #end 
  #else
      If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.    
  #end
d67 5
a71 14
#set ($rowClass="a")
 
<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr class="$rowClass"> 
  <td nowrap="nowrap">Summary:&nbsp;</td> 
  <td>$currentProject.getShortDescription()</td>
 </tr>  

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
 
d73 19
a91 29
 <tr class="$rowClass"> 
  #set( $categories = $currentProject.getCategories() )
  <td nowrap="nowrap">
  #if( $categories.size() == 1 )
     Category:
   #else
     Categories:
  #end
    &nbsp;&nbsp;
  </td> 
  <td>
  #if( $categories.isEmpty() )
      None 
   #else
    #set( $commaHolder = "" )
    #foreach( $category in $categories )
       $commaHolder $category.getName()  
       #set( $commaHolder = "," )
    #end 
  #end 
  </td>   
 </tr> 

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

d96 14
a109 24
 <tr class="$rowClass"> 
  <td nowrap="nowrap">
  #if( $groups.size() == 1 )
     Project Group:
   #else
     Project Groups:
  #end
    &nbsp;&nbsp;
  </td> 
  <td>
  #set( $commaHolder = "" )
  #foreach( $group in $groups )
     $commaHolder $group.getName()  
     #set( $commaHolder = "," )
  #end 
  </td>   
 </tr> 
 
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
 
d113 2
a114 10
 <tr class="$rowClass"> 
  <td nowrap="nowrap">License:</td> 
  <td>$currentProject.getLicense()</td>
 </tr> 

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
d120 6
a125 15
 <tr class="$rowClass"> 
  <td nowrap="nowrap">Owner(s):</td>
  <td>
  #foreach( $owner in $currentProject.getOwners() )
      <a href="mailto:$owner.getDomainEmail()">$owner.getLoginName()</a>
  #end
  </td>   
 </tr> 

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

d129 9
a137 18
 <tr class="$rowClass">
  <td nowrap="nowrap">Your Role(s):</td> 
  <td>
  #foreach( $role in $myRoles )
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a>
  #end
  #foreach( $role in $myRequestedRoles )
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a> <span class="alert">(Pending)</span>
  #end
  </td>   
 </tr> 

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
  
d139 2
a140 1
</table> 
d144 1
a144 1
  #if( $loginUser.isProjectOwner($currentProject) )
d148 1
a148 1
  #else
d150 1
a150 1
  #end
d171 1
a171 1
 $currentProject.getLongDescription()    
d178 28
a205 28
  #if( $projects.isEmpty() )
   <p class="alert">
    There are not yet any projects in this ${projectType.toLowerCase()}.
   </p>
  #else  
  
   <table border="0" cellspacing="0" cellpadding="2" width="100%">
    <tr>
     <th>Project Name</th>
     <th>Summary</th> 
    </tr>
   #set( $projects = $currentProject.getProjects($acl) )
   #set ($rowClass2="a")
   #foreach( $project in $projects )
    <tr class="$rowClass2"> 
     <td><a href="$project.getProjectHome()">$project.getWordMark()</a></td>
     <td>$project.getShortDescription()</td>
    </tr>

    #if ($rowClass2.equals("a"))
      #set ($rowClass2="b")
    #else 
      #set ($rowClass2="a")
    #end

   #end
   </table>
   
@


1.7
log
@ui recoded
@
text
@d14 1
a14 3
<table border="0" cellspacing="0" cellpadding="2" width="100%"> 
 <tr> 
  <td nowrap="nowrap">$projectType: $currentProject.getWordMark()
d31 3
a33 2
  </td>   
  <td nowrap="nowrap">
d64 4
a67 3
  </td>
 </tr>
</table> 
d70 1
a70 1
 <tr>  
d75 6
d82 1
a82 1
 <tr> 
d104 7
d115 1
a115 1
 <tr> 
d132 7
d142 1
a142 1
 <tr> 
d146 7
d157 1
a157 1
 <tr> 
d165 7
d175 1
a175 1
 <tr>
d186 7
d211 1
a211 2
<p>
Message From the Owner(s):&nbsp;$ownerMsg
d214 1
a214 1
##    <a href="$currentProject.getProjectPageURL("projecteditinfo")">Edit</a>
d216 3
d220 1
d230 2
a231 12
<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
  <th>Project Name</th>
  <th>Summary</th> 
 </tr>
  #set( $projects = $currentProject.getProjects($acl) )
  #foreach( $project in $projects )
 <tr> 
  <td><a href="$project.getProjectHome()">$project.getWordMark()</a></td>
  <td>$project.getShortDescription()</td>
 </tr>
  #end
d233 29
a261 5
 <tr> 
  <td colspan="2">There are not yet any projects in this ${projectType.toLowerCase()}.</td>
 </tr>
  #end
</table>
@


1.6
log
@Got rid of call to asGroup();
@
text
@d1 2
d14 3
a16 5
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
 <TR> 
  <TD nowrap>
   <SPAN CLASS="Header" valign="bottom">$projectType:</SPAN> 
   <SPAN CLASS="ProjectNameHeader">$currentProject.getWordMark()</SPAN>
d19 1
a19 1
    <span class="PlainText">(<font color="red">Pending Approval</font> 
d23 1
a23 1
    )</span>   
d27 1
a27 1
    <span class="PlainText">(<font color="red">Locked</font>
d31 1
a31 1
     )</span>   
d33 2
a34 2
  </TD>   
  <TD align="right" class="PlainText" nowrap valign="bottom">
d38 2
a39 2
     <A HREF="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
      this $projectType</A>
d43 2
a44 2
     <A HREF="$currentProject.getProjectPageURL("ProjectEdit")">Edit 
      this $projectType</A>
d56 1
a56 1
          <A HREF="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</A>
d58 1
a58 1
          <A HREF="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</A>
d65 3
a67 3
  </TD>
 </TR>
</TABLE> 
d69 5
a73 7
<HR SIZE="1" NOSHADE> 

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
 <TR>  
  <TD nowrap><SPAN CLASS="StatText">Summary:&nbsp;&nbsp;</SPAN></TD> 
  <TD><SPAN CLASS="PlainText">$currentProject.getShortDescription()</SPAN></TD>
 </TR>  
d76 1
a76 1
  <TR> 
d78 1
a78 1
   <TD nowrap><SPAN CLASS="StatText">
d84 3
a86 4
    &nbsp;&nbsp;</SPAN>
   </TD> 
   <TD>
    <SPAN CLASS="PlainText">
d96 2
a97 3
    </SPAN>
   </TD>   
  </TR> 
d102 2
a103 2
  <TR> 
   <TD nowrap><SPAN CLASS="StatText">  
d109 3
a111 3
    &nbsp;&nbsp;</SPAN>
   </TD> 
   <TD><SPAN CLASS="PlainText">
d117 2
a118 3
   </SPAN>
   </TD>   
  </TR> 
d122 4
a125 4
  <TR> 
    <TD nowrap><SPAN CLASS="StatText">License:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">$currentProject.getLicense()</SPAN></TD>   
  </TR> 
d130 3
a132 4
  <TR> 
   <TD nowrap><SPAN CLASS="StatText">Owner(s):&nbsp;&nbsp;</SPAN></TD> 
   <TD>
    <SPAN CLASS="PlainText">
d136 2
a137 3
    </SPAN>
   </TD>   
  </TR> 
d141 3
a143 4
  <TR>
   <TD nowrap><SPAN CLASS="StatText">Your Role(s):&nbsp;&nbsp;</SPAN></TD> 
    <TD>
     <SPAN CLASS="PlainText">
d148 1
a148 1
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a> <font color="red">(Pending)</font>
d150 2
a151 3
     </SPAN>
    </TD>   
   </TR> 
d153 1
a153 1
 </TABLE> 
d156 1
a156 1
<P><SPAN CLASS="PlainText"><font color="red">
d161 2
a162 2
   #else
  This project is currently disabled. Access to the project's source repository, mailing lists, and issue tracker is read-only. Until the project is reactivated, no project files or data can be modified.
d164 1
a164 2
  </SPAN></font>
<P>
a168 1
<HR SIZE="1" NOSHADE> 
d170 2
a171 3
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
  <TR> 
    <TD ><SPAN CLASS="StatText">Message From the Owner(s):&nbsp;&nbsp;</SPAN><SPAN CLASS="PlainText">$ownerMsg</SPAN>
d174 3
a176 5
##    <A HREF="$currentProject.getProjectPageURL("ProjectEditInfo")">Edit</A>
  #end 
    </TD>   
  </TR> 
</TABLE> 
d180 3
a182 8
<HR SIZE="1" NOSHADE> 
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
  <TR> 
    <TD COLSPAN="3" CLASS="Copy"><BR>
    $currentProject.getLongDescription()    
    </TD> 
  </TR> 
</TABLE> 
d186 5
a190 8
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>  
    <TD COLSPAN="2" WIDTH="100%"><HR SIZE="1" NOSHADE></TD>  
  </TR>  
  <TR>
    <TD CLASS="InputHeader" BGCOLOR="#efefef">Project Name</TD>
    <TD CLASS="InputHeader" BGCOLOR="#efefef">Summary</TD> 
  </TR>
d193 4
a196 4
  <TR> 
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getWordMark()</a></TD>
    <TD CLASS="ProjectName">$project.getShortDescription()</TD>
  </TR>
d199 3
a201 5
     <TR> 
      <TD CLASS="PlainText" COLSPAN="2"><i>
       There are not yet any projects in this ${projectType.toLowerCase()}.
      </i></TD>
    </TR>
d203 1
a203 1
</TABLE>
d205 2
@


1.5
log
@changed getName to getLoginName for project Owner field
@
text
@a204 1
  #set( $group = $currentProject.asGroup() )
d213 1
a213 1
  #set( $projects = $group.getProjects($acl) )
@


1.4
log
@Corrected VTL syntax error(s).
@
text
@d140 1
a140 1
      <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
@


1.3
log
@Protect against trailing dot.
@
text
@d6 2
d9 1
a9 5
  #if( $currentProject.isGroup() )
    #set( $projectType = "Group" )
   #else
    #set( $projectType = "Project" )
  #end
d40 2
a41 1
  #else
d57 1
a57 1
           #else
d60 2
a61 1
    #else
d104 1
a104 1
#set( $groups = $currentProject.getNonSpecialGroups() )
d178 1
a178 1
#if( $ownerMsg && !$ownerMsg.length()==0 )
@


1.2
log
@Removed extraneous whitespace.
@
text
@d224 1
a224 1
       There are not yet any projects in this $projectType.toLowerCase().
@


1.1
log
@Adding Velocity templates.
@
text
@a229 3
  


@

