head	1.56;
access;
symbols
	TIGRIS_1_1_0RC2:1.52.2.1.4.4
	TIGRIS_1_1_0RC1:1.52.2.1.4.4
	TIGRIS_1_1:1.52.2.1.4.4.0.2
	TIGRIS_1_0_8:1.52.2.1.4.4
	TIGRIS_1_0_8RC3:1.52.2.1.4.4
	TIGRIS_1_0_8RC2:1.52.2.1.4.4
	TIGRIS_1_0_8RC1:1.52.2.1.4.4
	TIGRIS_1_0_7:1.52.2.1.4.4
	TIGRIS_1_0_7RC3:1.52.2.1.4.4
	TIGRIS_1_0_7RC2:1.52.2.1.4.4
	TIGRIS_1_0_7RC1:1.52.2.1.4.3
	TIGRIS_1_0_6:1.52.2.1.4.3
	TIGRIS_1_0_6RC5:1.52.2.1.4.3
	TIGRIS_1_0_6RC4:1.52.2.1.4.3
	TIGRIS_1_0_6RC3:1.52.2.1.4.3
	TIGRIS_1_0_6RC2:1.52.2.1.4.2
	TIGRIS_1_0_6RC1:1.52.2.1.4.2
	TIGRIS_1_0_5:1.52.2.1.4.2
	TIGRIS_1_0_5RC6:1.52.2.1.4.2
	TIGRIS_1_0_5RC5:1.52.2.1.4.2
	TIGRIS_1_0_5RC4:1.52.2.1.4.2
	TIGRIS_1_0_5RC3:1.52.2.1.4.2
	TIGRIS_1_0_5RC2:1.52.2.1.4.2
	TIGRIS_1_0_5RC1:1.52.2.1.4.2
	TIGRIS_1_0_4:1.52.2.1.4.2
	TIGRIS_1_0_3:1.52.2.1.4.2
	TIGRIS_1_0_2:1.52.2.1.4.2
	TIGRIS_1_0_1:1.52.2.1.4.1
	TIGRIS_1_0:1.52.2.1.0.4
	TIGRIS_1_0_0:1.52.2.1
	TIGRIS_1_0_0_RC1:1.52.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.36
	TIGRIS_0_9_2_3:1.36
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.36
	TIGRIS_0_9_2_1:1.36
	TIGRIS_0_9_2:1.36.0.2
	TIGRIS_0_9_0:1.31.0.2
	TIGRIS_0_8_4:1.23.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.56
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.55;

1.55
date	2001.04.13.18.14.09;	author susank;	state Exp;
branches;
next	1.54;

1.54
date	2001.04.12.21.14.57;	author beril;	state Exp;
branches;
next	1.53;

1.53
date	2001.03.28.19.16.47;	author susank;	state Exp;
branches;
next	1.52;

1.52
date	2001.03.26.19.52.50;	author elicia;	state Exp;
branches
	1.52.2.1;
next	1.51;

1.51
date	2001.03.23.19.53.10;	author leonardr;	state Exp;
branches;
next	1.50;

1.50
date	2001.03.21.02.04.37;	author susank;	state Exp;
branches;
next	1.49;

1.49
date	2001.03.21.01.17.49;	author susank;	state Exp;
branches;
next	1.48;

1.48
date	2001.03.16.23.36.26;	author leonardr;	state Exp;
branches;
next	1.47;

1.47
date	2001.03.16.02.47.24;	author elicia;	state Exp;
branches;
next	1.46;

1.46
date	2001.03.09.15.41.17;	author leonardr;	state Exp;
branches;
next	1.45;

1.45
date	2001.03.09.01.24.24;	author leonardr;	state Exp;
branches;
next	1.44;

1.44
date	2001.03.09.00.11.34;	author leonardr;	state Exp;
branches;
next	1.43;

1.43
date	2001.03.08.03.39.32;	author leonardr;	state Exp;
branches;
next	1.42;

1.42
date	2001.03.08.00.33.48;	author leonardr;	state Exp;
branches;
next	1.41;

1.41
date	2001.03.08.00.03.22;	author elicia;	state Exp;
branches;
next	1.40;

1.40
date	2001.03.07.02.24.30;	author leonardr;	state Exp;
branches;
next	1.39;

1.39
date	2001.03.06.02.29.24;	author elicia;	state Exp;
branches;
next	1.38;

1.38
date	2001.02.22.16.17.54;	author leonardr;	state Exp;
branches;
next	1.37;

1.37
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.36;

1.36
date	2001.01.12.21.02.19;	author leonardr;	state Exp;
branches
	1.36.4.1;
next	1.35;

1.35
date	2001.01.11.00.52.14;	author elicia;	state Exp;
branches;
next	1.34;

1.34
date	2001.01.10.23.03.56;	author leonardr;	state Exp;
branches;
next	1.33;

1.33
date	2001.01.05.22.35.43;	author leonardr;	state Exp;
branches;
next	1.32;

1.32
date	2000.12.29.22.04.51;	author dlr;	state Exp;
branches;
next	1.31;

1.31
date	2000.12.14.21.34.01;	author leonardr;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2000.12.14.18.28.52;	author leonardr;	state Exp;
branches;
next	1.29;

1.29
date	2000.12.14.06.39.06;	author jrobbins;	state Exp;
branches;
next	1.28;

1.28
date	2000.12.14.06.21.07;	author jrobbins;	state Exp;
branches;
next	1.27;

1.27
date	2000.12.08.01.24.36;	author jrobbins;	state Exp;
branches;
next	1.26;

1.26
date	2000.12.05.18.07.37;	author leonardr;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.05.02.19.17;	author leonardr;	state Exp;
branches;
next	1.24;

1.24
date	2000.12.04.19.46.42;	author elicia;	state Exp;
branches;
next	1.23;

1.23
date	2000.12.04.03.06.13;	author jrobbins;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2000.12.04.02.42.42;	author jrobbins;	state Exp;
branches;
next	1.21;

1.21
date	2000.12.02.04.35.29;	author cameron;	state Exp;
branches;
next	1.20;

1.20
date	2000.12.02.04.26.17;	author cameron;	state Exp;
branches;
next	1.19;

1.19
date	2000.12.01.23.29.02;	author elicia;	state Exp;
branches;
next	1.18;

1.18
date	2000.11.29.21.32.28;	author elicia;	state Exp;
branches;
next	1.17;

1.17
date	2000.11.29.02.31.19;	author susank;	state Exp;
branches;
next	1.16;

1.16
date	2000.11.29.00.13.36;	author susank;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.28.17.26.17;	author cameron;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.28.00.07.53;	author susank;	state Exp;
branches;
next	1.13;

1.13
date	2000.11.22.20.16.39;	author susank;	state Exp;
branches;
next	1.12;

1.12
date	2000.11.22.20.08.09;	author susank;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.22.19.58.02;	author susank;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.22.19.12.06;	author susank;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.21.04.20.03;	author susank;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.21.03.59.07;	author susank;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.17.01.50.54;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.16.23.46.38;	author elicia;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.16.06.49.49;	author jrobbins;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.16.01.43.19;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.15.20.14.12;	author kmaples;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.14.01.24.30;	author elicia;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.21;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.21;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.58;	author dlr;	state Exp;
branches;
next	;

1.23.2.1
date	2000.12.05.06.34.18;	author jrobbins;	state Exp;
branches;
next	;

1.31.2.1
date	2001.01.04.17.56.06;	author jrobbins;	state Exp;
branches;
next	1.31.2.2;

1.31.2.2
date	2001.01.06.17.18.31;	author stack;	state Exp;
branches;
next	1.31.2.3;

1.31.2.3
date	2001.01.12.03.10.33;	author jrobbins;	state Exp;
branches;
next	;

1.36.4.1
date	2001.01.31.02.05.51;	author leonardr;	state Exp;
branches;
next	1.36.4.2;

1.36.4.2
date	2001.02.12.17.20.31;	author leonardr;	state Exp;
branches;
next	1.36.4.3;

1.36.4.3
date	2001.02.12.20.53.33;	author elicia;	state Exp;
branches;
next	;

1.52.2.1
date	2001.03.28.23.13.30;	author dlr;	state Exp;
branches
	1.52.2.1.4.1;
next	1.52.2.2;

1.52.2.2
date	2001.04.13.01.47.55;	author susank;	state Exp;
branches;
next	;

1.52.2.1.4.1
date	2001.04.13.18.03.46;	author susank;	state Exp;
branches;
next	1.52.2.1.4.2;

1.52.2.1.4.2
date	2001.04.20.17.09.25;	author beril;	state Exp;
branches;
next	1.52.2.1.4.3;

1.52.2.1.4.3
date	2001.06.08.21.02.16;	author aelchan;	state Exp;
branches;
next	1.52.2.1.4.4;

1.52.2.1.4.4
date	2001.06.27.04.00.06;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.56
log
@Removed WM templates in favor of Velocity templates.
@
text
@#set $myRoles = $loginUser.getRolesInProject($currentProject)
#set $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject)

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

<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>

#if(!$currentProject.isApproved())   
{   
    <span class="PlainText">(<font color="red">Pending Approval</font> 
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
  {   
     | <a href="/servlets/ProjectApproval">Approve</a>
  }   
    )</span>   
}   

#if($currentProject.isLocked())   
{   
    <span class="PlainText">(<font color="red">Locked</font>
  #if ($acl.hasPermission("Project - Lock", $currentProject))   
  {   
      | <a href="/servlets/ProjectLocked">Unlock</a>
  }   
     )</span>   
}
  </TD>   
  <TD align="right" class="PlainText" nowrap valign="bottom">

#if ($currentProject.isGroup())
{
  #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
  {   
     <A HREF="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
      this $projectType</A>
  }
} 
#else 
{
  #if ($acl.hasPermission("Project - Edit", $currentProject)) 
  {   
     <A HREF="$currentProject.getProjectPageURL("ProjectEdit")">Edit 
      this $projectType</A>
  }
}

#if (!$currentProject.isCategory()) 
{ 
  #if ($acl.hasPermission("Project - Edit", $currentProject))
  { 
     | 
  } 
 
  #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>
      } 
    }
  }
  #else
  {
      If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.    
  }
} 
  </TD>
 </TR>
</TABLE> 
 
<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>  

#if (!$currentProject.isGroup()) 
{ 
  <TR> 
  #set $categories = $currentProject.getCategories() 
   <TD nowrap><SPAN CLASS="StatText">
  #if ($categories.size() == 1)
  {
     Category:
  } 
  #else 
  {
     Categories:
  }
    &nbsp;&nbsp;</SPAN>
   </TD> 
   <TD>
    <SPAN CLASS="PlainText">
  #if ($categories.isEmpty()) 
  { 
      None 
  }  
  #else  
  { 
    #set $commaHolder=""
    #foreach $category in $categories  
    { 
       $commaHolder $category.getName()  
       #set $commaHolder="," 
    } 
  } 
    </SPAN>
   </TD>   
  </TR> 
}

#set $groups = $currentProject.getNonSpecialGroups() 
#if (!$groups.isEmpty())
{
  <TR> 
   <TD nowrap><SPAN CLASS="StatText">  
  #if ($groups.size() == 1)
  {
     Project Group:
  } 
  #else 
  {
     Project Groups:
  }
    &nbsp;&nbsp;</SPAN>
   </TD> 
   <TD><SPAN CLASS="PlainText">
  #set $commaHolder=""
  #foreach $group in $groups  
  { 
     $commaHolder $group.getName()  
     #set $commaHolder="," 
  } 
   </SPAN>
   </TD>   
  </TR> 
}

#if (!$currentProject.isGroup())  
{  
  <TR> 
    <TD nowrap><SPAN CLASS="StatText">License:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">$currentProject.getLicense()</SPAN></TD>   
  </TR> 
}

#set $owners = $currentProject.getOwners()
#if (!$owners.isEmpty())
{
  <TR> 
   <TD nowrap><SPAN CLASS="StatText">Owner(s):&nbsp;&nbsp;</SPAN></TD> 
   <TD>
    <SPAN CLASS="PlainText">
  #foreach $owner in $currentProject.getOwners()
  {
      <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
  }
    </SPAN>
   </TD>   
  </TR> 
}

#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
{
  <TR>
   <TD nowrap><SPAN CLASS="StatText">Your Role(s):&nbsp;&nbsp;</SPAN></TD> 
    <TD>
     <SPAN CLASS="PlainText">
  #foreach $role in $myRoles
  {
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a>
  }
  #foreach $role in $myRequestedRoles
  {
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a> <font color="red">(Pending)</font>
  }
     </SPAN>
    </TD>   
   </TR> 
}
 </TABLE> 

#if ($currentProject.isLocked())   
{   
<P><SPAN CLASS="PlainText"><font color="red">
  #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.
  }
  </SPAN></font>
<P>
}

#set $ownerMsg=$currentProject.getStatus()
#if ($ownerMsg && !$ownerMsg.length()==0)
{
<HR SIZE="1" NOSHADE> 

<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>

#if ($acl.hasPermission("Project - Edit", $currentProject)) 
  { 
##    <A HREF="$currentProject.getProjectPageURL("ProjectEditInfo")">Edit</A>
  } 
    </TD>   
  </TR> 
</TABLE> 
}

#if ($currentProject.getLongDescription()!="")
{
<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> 
}

#if ($currentProject.isGroup()) 
{ 
  #set $group=$currentProject.asGroup()
<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>
  #set $projects=$group.getProjects($acl)
  #foreach $project in $projects
  {
  <TR> 
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getWordMark()</a></TD>
    <TD CLASS="ProjectName">$project.getShortDescription()</TD>
  </TR>
  }
  #if ($projects.isEmpty()) 
  {
     <TR> 
      <TD CLASS="PlainText" COLSPAN="2"><i>
       There are not yet any projects in this $projectType.toLowerCase().
      </i></TD>
    </TR>
  }
</TABLE>
}
  


@


1.55
log
@organized if statements to solve table tag prob
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@@


1.54
log
@fixed bad table
@
text
@d6 12
a17 8
 #set $projectType = "Category"
} #else {
 #if ($currentProject.isGroup())
 {
  #set $projectType = "Group"
 } #else {
  #set $projectType = "Project"
 }
d26 2
a27 2
   #if(!$currentProject.isApproved())   
   {   
d29 2
a30 2
    #if ($acl.hasPermission("Project - Approve", $currentProject))   
    {   
d32 1
a32 1
    }   
d34 1
a34 1
   }   
d36 2
a37 2
   #if($currentProject.isLocked())   
   {   
d39 2
a40 2
     #if ($acl.hasPermission("Project - Lock", $currentProject))   
     {   
d42 1
a42 1
     }   
d44 1
a44 1
   }
d48 4
a51 4
   #if ($currentProject.isGroup())
   {
    #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
    {   
d54 6
a59 6
    }
   } 
   #else 
   {
    #if ($acl.hasPermission("Project - Edit", $currentProject)) 
    {   
d62 2
a63 2
    }
   }
d65 4
a68 4
   #if (!$currentProject.isCategory()) 
   { 
    #if ($acl.hasPermission("Project - Edit", $currentProject))
    { 
d70 1
a70 1
    } 
d72 3
a74 1
    #if ($loginUser && !$loginUser.isAnonymous())
d76 2
a77 4
      #if ($acl.hasPermission("Project Role - Request", $currentProject))
      {
        #if ($myRoles.isEmpty() && $myRequestedRoles.isEmpty())
        { 
d79 3
a81 3
        } 
        #else 
        { 
d83 1
a83 2
        } 
      }
d85 3
a87 2
    #else
    {
d89 2
a90 2
    }
  } 
d103 2
a104 2
 #if (!$currentProject.isGroup()) 
 { 
d106 1
a106 1
   #set $categories = $currentProject.getCategories() 
d108 2
a109 2
    #if ($categories.size() == 1)
    {
d111 3
a113 1
    } #else {
d115 1
a115 1
    }
d120 2
a121 2
     #if ($categories.isEmpty()) 
     { 
d123 6
a128 6
     }  
     #else  
     { 
      #set $commaHolder=""
      #foreach $category in $categories  
      { 
d131 2
a132 2
      } 
     } 
d136 1
a136 1
 }
d138 3
a140 3
 #set $groups = $currentProject.getNonSpecialGroups() 
 #if (!$groups.isEmpty())
 {
d143 2
a144 2
    #if ($groups.size() == 1)
    {
d146 3
a148 1
    } #else {
d150 1
a150 1
    }
d154 3
a156 3
   #set $commaHolder=""
   #foreach $group in $groups  
   { 
d159 1
a159 1
   } 
d163 1
a163 1
 }
d165 2
a166 2
 #if (!$currentProject.isGroup())  
 {  
d171 1
a171 1
 }
d173 3
a175 3
 #set $owners = $currentProject.getOwners()
 #if (!$owners.isEmpty())
 {
d180 2
a181 2
     #foreach $owner in $currentProject.getOwners()
     {
d183 1
a183 1
     }
d187 1
a187 1
 }
d189 2
a190 2
 #if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
 {
d195 2
a196 2
      #foreach $role in $myRoles
      {
d198 3
a200 3
      }
      #foreach $role in $myRequestedRoles
      {
d202 1
a202 1
      }
d206 1
a206 1
  }
d208 1
d217 3
a219 1
  } #else {
d221 2
a222 1
  }</SPAN></font>
d242 1
a242 1
  }
d245 1
a245 1
  {
d254 1
a254 1
  }
d257 1
a257 1
  { 
d267 3
a269 3
    #set $projects=$group.getProjects($acl)
    #foreach $project in $projects
    {
d274 3
a276 3
    }
    #if ($projects.isEmpty()) 
    {
d282 1
a283 2
    }
 
a284 1

@


1.53
log
@pilgrim's suggested grammar change: IZ #3357
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d270 1
d274 1
a274 1
</TABLE>
@


1.52
log
@set font of locked message to red
@
text
@d84 1
a84 1
      If you were <a href="/servlets/Join">registered</a> and <a href="/servlets/TLogin/">logged in</a>, you could join this project.    
@


1.52.2.1
log
@Merging in susank's HEAD change.
@
text
@d84 1
a84 1
      If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.    
@


1.52.2.1.4.1
log
@organized if statements to solve table tag prob
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d6 8
a13 12
  #set $projectType = "Category"
} 
#else 
{
  #if ($currentProject.isGroup())
  {
    #set $projectType = "Group"
  } 
  #else 
  {
    #set $projectType = "Project"
  }
d22 2
a23 2
#if(!$currentProject.isApproved())   
{   
d25 2
a26 2
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
  {   
d28 1
a28 1
  }   
d30 1
a30 1
}   
d32 2
a33 2
#if($currentProject.isLocked())   
{   
d35 2
a36 2
  #if ($acl.hasPermission("Project - Lock", $currentProject))   
  {   
d38 1
a38 1
  }   
d40 1
a40 1
}
d44 4
a47 4
#if ($currentProject.isGroup())
{
  #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
  {   
d50 6
a55 6
  }
} 
#else 
{
  #if ($acl.hasPermission("Project - Edit", $currentProject)) 
  {   
d58 2
a59 2
  }
}
d61 4
a64 4
#if (!$currentProject.isCategory()) 
{ 
  #if ($acl.hasPermission("Project - Edit", $currentProject))
  { 
d66 1
a66 1
  } 
d68 1
a68 3
  #if ($loginUser && !$loginUser.isAnonymous())
  {
    #if ($acl.hasPermission("Project Role - Request", $currentProject))
d70 4
a73 2
      #if ($myRoles.isEmpty() && $myRequestedRoles.isEmpty())
      { 
d75 3
a77 3
      } 
      #else 
      { 
d79 2
a80 1
      } 
d82 2
a83 3
  }
  #else
  {
d85 2
a86 2
  }
} 
d99 2
a100 2
#if (!$currentProject.isGroup()) 
{ 
d102 1
a102 1
  #set $categories = $currentProject.getCategories() 
d104 2
a105 2
  #if ($categories.size() == 1)
  {
d107 1
a107 3
  } 
  #else 
  {
d109 1
a109 1
  }
d114 2
a115 2
  #if ($categories.isEmpty()) 
  { 
d117 6
a122 6
  }  
  #else  
  { 
    #set $commaHolder=""
    #foreach $category in $categories  
    { 
d125 2
a126 2
    } 
  } 
d130 1
a130 1
}
d132 3
a134 3
#set $groups = $currentProject.getNonSpecialGroups() 
#if (!$groups.isEmpty())
{
d137 2
a138 2
  #if ($groups.size() == 1)
  {
d140 1
a140 3
  } 
  #else 
  {
d142 1
a142 1
  }
d146 3
a148 3
  #set $commaHolder=""
  #foreach $group in $groups  
  { 
d151 1
a151 1
  } 
d155 1
a155 1
}
d157 2
a158 2
#if (!$currentProject.isGroup())  
{  
d163 1
a163 1
}
d165 3
a167 3
#set $owners = $currentProject.getOwners()
#if (!$owners.isEmpty())
{
d172 2
a173 2
  #foreach $owner in $currentProject.getOwners()
  {
d175 1
a175 1
  }
d179 1
a179 1
}
d181 2
a182 2
#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
{
d187 2
a188 2
  #foreach $role in $myRoles
  {
d190 3
a192 3
  }
  #foreach $role in $myRequestedRoles
  {
d194 1
a194 1
  }
d198 1
a198 1
}
a199 1

d208 1
a208 3
  } 
  #else 
  {
d210 1
a210 2
  }
  </SPAN></font>
d230 1
a230 1
}
d233 1
a233 1
{
d242 1
a242 1
}
d245 1
a245 1
{ 
d255 3
a257 3
  #set $projects=$group.getProjects($acl)
  #foreach $project in $projects
  {
d262 3
a264 3
  }
  #if ($projects.isEmpty()) 
  {
d270 3
a272 1
  }
a273 1
}
@


1.52.2.1.4.2
log
@fixed an .html include bug - removed the table surrounding the include - was preventing NS 4.7 to render images
@
text
@d246 4
a249 2
<HR SIZE="1" NOSHADE>
    <SPAN CLASS="Copy">
d251 3
a253 1
    </SPAN> 
@


1.52.2.1.4.3
log
@There was a call of undefined method getName and i've replaced it with
getRealName.
Reviewed by: St.Ack
@
text
@d182 1
a182 1
      <a href="mailto:$owner.getDomainEmail()">$owner.getRealName()</a>
@


1.52.2.1.4.4
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
@d52 1
a52 1
     <A HREF="/servlets/ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit 
d197 1
a197 1
       <a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a>
d201 1
a201 1
       <a href="/servlets/RoleView?roleID=$role.getID()">$role.getName()</a> <font color="red">(Pending)</font>
@


1.52.2.2
log
@organized if statements to solve table tag prob
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d6 8
a13 12
  #set $projectType = "Category"
} 
#else 
{
  #if ($currentProject.isGroup())
  {
    #set $projectType = "Group"
  } 
  #else 
  {
    #set $projectType = "Project"
  }
d22 2
a23 2
#if(!$currentProject.isApproved())   
{   
d25 2
a26 2
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
  {   
d28 1
a28 1
  }   
d30 1
a30 1
}   
d32 2
a33 2
#if($currentProject.isLocked())   
{   
d35 2
a36 2
  #if ($acl.hasPermission("Project - Lock", $currentProject))   
  {   
d38 1
a38 1
  }   
d40 1
a40 1
}
d44 4
a47 4
#if ($currentProject.isGroup())
{
  #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
  {   
d50 6
a55 6
  }
} 
#else 
{
  #if ($acl.hasPermission("Project - Edit", $currentProject)) 
  {   
d58 2
a59 2
  }
}
d61 4
a64 4
#if (!$currentProject.isCategory()) 
{ 
  #if ($acl.hasPermission("Project - Edit", $currentProject))
  { 
d66 1
a66 1
  } 
d68 1
a68 3
  #if ($loginUser && !$loginUser.isAnonymous())
  {
    #if ($acl.hasPermission("Project Role - Request", $currentProject))
d70 4
a73 2
      #if ($myRoles.isEmpty() && $myRequestedRoles.isEmpty())
      { 
d75 3
a77 3
      } 
      #else 
      { 
d79 2
a80 1
      } 
d82 2
a83 3
  }
  #else
  {
d85 2
a86 2
  }
} 
d99 2
a100 2
#if (!$currentProject.isGroup()) 
{ 
d102 1
a102 1
  #set $categories = $currentProject.getCategories() 
d104 2
a105 2
  #if ($categories.size() == 1)
  {
d107 1
a107 3
  } 
  #else 
  {
d109 1
a109 1
  }
d114 2
a115 2
  #if ($categories.isEmpty()) 
  { 
d117 6
a122 6
  }  
  #else  
  { 
    #set $commaHolder=""
    #foreach $category in $categories  
    { 
d125 2
a126 2
    } 
  } 
d130 1
a130 1
}
d132 3
a134 3
#set $groups = $currentProject.getNonSpecialGroups() 
#if (!$groups.isEmpty())
{
d137 2
a138 2
  #if ($groups.size() == 1)
  {
d140 1
a140 3
  } 
  #else 
  {
d142 1
a142 1
  }
d146 3
a148 3
  #set $commaHolder=""
  #foreach $group in $groups  
  { 
d151 1
a151 1
  } 
d155 1
a155 1
}
d157 2
a158 2
#if (!$currentProject.isGroup())  
{  
d163 1
a163 1
}
d165 3
a167 3
#set $owners = $currentProject.getOwners()
#if (!$owners.isEmpty())
{
d172 2
a173 2
  #foreach $owner in $currentProject.getOwners()
  {
d175 1
a175 1
  }
d179 1
a179 1
}
d181 2
a182 2
#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
{
d187 2
a188 2
  #foreach $role in $myRoles
  {
d190 3
a192 3
  }
  #foreach $role in $myRequestedRoles
  {
d194 1
a194 1
  }
d198 1
a198 1
}
a199 1

d208 1
a208 3
  } 
  #else 
  {
d210 1
a210 2
  }
  </SPAN></font>
d230 1
a230 1
}
d233 1
a233 1
{
d242 1
a242 1
}
d245 1
a245 1
{ 
d255 3
a257 3
  #set $projects=$group.getProjects($acl)
  #foreach $project in $projects
  {
d262 3
a264 3
  }
  #if ($projects.isEmpty()) 
  {
d270 3
a272 1
  }
a273 1
}
@


1.51
log
@The Grammar Vandal strikes again!
@
text
@d202 1
a202 1
<P>
d210 1
a210 1
  }
@


1.50
log
@after further discussion with jason and dan, added link to Join servlet with "you could join..." msg
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d84 1
a84 1
      If you <a href="/servlets/Join">Register</a>, you could join this Project    
@


1.49
log
@added check to see if user is logged in around "join project"/"request new role" message.  If user is not logged in or is anonymous, text "If you
register, you could join this Project" appears
ref: IZ #3022
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d84 1
a84 1
      If you register, you could join this Project    
@


1.48
log
@Guard a link.
@
text
@d68 1
a68 1
    #if ($acl.hasPermission("Project Role - Request", $currentProject))
d70 11
a80 8
     #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>
     } 
d82 5
a86 1
   } 
@


1.47
log
@if project is locked, there are instructions in the template
@
text
@d67 12
a78 8
    #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>
    } 
@


1.46
log
@Got rid of NPE.
@
text
@d189 13
@


1.45
log
@More renaming madness as the act of 'project disabling' becomes 'project locking'
@
text
@d191 1
a191 1
#if ($ownerMsg && !$ownerMsg.equals(""))
@


1.44
log
@Got rid of superfluous }
@
text
@d32 1
a32 1
   #if(!$currentProject.isEnabled())   
d34 2
a35 2
    <span class="PlainText">(<font color="red">Disabled</font>
     #if ($acl.hasPermission("Project - Disable", $currentProject))   
d37 1
a37 1
      | <a href="/servlets/ProjectEnabled">Enable</a>
@


1.43
log
@Added links to ProjectEnabled.
@
text
@d250 1
a250 1
  }
@


1.42
log
@Corrected method call and fixed indentation. This re-adds some lines that elicia deleted. I don't see any good reason for her deleting them but I will take them out if I turn out to have been wrong.
@
text
@d27 1
a27 1
     | <a href="/servlets/ProjectApproval">Approve</a></span>   
d29 1
a29 1
    )
d34 6
a39 1
    <span class="PlainText">(<font color="red">Disabled</font>)</span>
@


1.41
log
@leonard left out a } or two, wasn't parsing, fixed
@
text
@d17 21
a37 2
  <TR> 
    <TD nowrap><SPAN CLASS="Header" valign="bottom">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getWordMark()</SPAN>
d39 16
a54 10
#if( !$currentProject.isApproved() )   
  {   
  <span class="PlainText">(<font color="red">Pending Approval</font> 
  }
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
  {   
    | <a href="/servlets/ProjectApproval">Approve</a></span>   
  }   
    </TD>   
    <TD align="right" class="PlainText" nowrap valign="bottom">
d56 17
a72 2
    </TD>
  </TR>
d76 1
d78 4
a81 4
  <TR>  
    <TD nowrap><SPAN CLASS="StatText">Summary:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">$currentProject.getShortDescription()</SPAN></TD>    
  </TR>  
d83 32
a114 28
#if (!$currentProject.isGroup()) 
{ 
 <TR> 
  #set $categories = $currentProject.getCategories() 
  <TD nowrap><SPAN CLASS="StatText">
   #if ($categories.size() == 1)
   {
    Category:
   } #else {
    Categories:
   }
   &nbsp;&nbsp;</SPAN>
  </TD> 
  <TD><SPAN CLASS="PlainText">
   #if ($categories.isEmpty()) 
   { 
    None 
   } #else { 
    #set $commaHolder=""
    #foreach $category in $categories  
    { 
     $commaHolder $category.getName()  
     #set $commaHolder="," 
    } 
   } 
   </SPAN>
  </TD>   
 </TR> 
d116 1
a116 1
 #set $groups = $currentProject.getGroups() 
d141 2
a142 2
#if (!$currentProject.isGroup())  
  {  
d147 1
a147 1
  }
d149 3
a151 3
#set $owners = $currentProject.getOwners()
#if (!$owners.isEmpty())
{
d153 9
a161 7
    <TD nowrap><SPAN CLASS="StatText">Owner(s):&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">
   #foreach $owner in $currentProject.getOwners()
   {
    <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
   }
    </SPAN></TD>   
d163 1
a163 1
}
d165 8
a172 7
#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
{
 <TR>
  <TD nowrap><SPAN CLASS="StatText">Your Role(s):&nbsp;&nbsp;</SPAN></TD> 
   <TD><SPAN CLASS="PlainText">
   #foreach $role in $myRoles
   {
d174 3
a176 3
   }
   #foreach $role in $myRequestedRoles
   {
d178 6
a183 5
   }
    </SPAN></TD>   
  </TR> 
}
</TABLE> 
@


1.40
log
@Added line to show which project groups a project belongs to.
@
text
@d23 1
d25 1
a25 1
    {   
a26 2
    }   
  )
a30 28
#if ($currentProject.isGroup())
{
 #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
 {   
     <A HREF="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit $projectType</A>
 }
} #else {
 #if ($acl.hasPermission("Project - Edit", $currentProject)) 
 {   
  <A HREF="$currentProject.getProjectPageURL("ProjectEdit")">Edit $projectType</A>
 }
}

#if (!$currentProject.isCategory()) 
  { 
  #if ($acl.hasPermission("Project - Edit", $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>
    } 
  } 
d59 1
a59 3
   }  
   #else  
   { 
d185 2
a186 1
    #if ($projects.isEmpty()) {
d192 1
@


1.39
log
@only printing Owner's Message line if there is a message
@
text
@d72 2
a73 4
  { 
  <TR> 
    <TD nowrap><SPAN CLASS="StatText">Category:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">
d75 16
a90 6
  #if ($categories.isEmpty()) 
    { 
      None 
    }  
  #else  
    { 
d93 3
a95 4
      { 
      $commaHolder $category.getName() 
      #set $commaHolder="," 
      } 
d97 27
a123 1
    </SPAN></TD>   
d125 2
a126 1
  }
@


1.38
log
@Corrected owner message problem.
@
text
@d134 1
a134 1
#if ($ownerMsg.equals(""))
a135 4
 #set $ownerMsg="none"
}
#if ($ownerMsg!="none") 
  { 
@


1.37
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@a15 9
#if ($currentProject.getStatus()=="")
  {
  #set $ownerMsg="none"
  }
#else
  {
  #set $ownerMsg=$currentProject.getStatus()
  }

d133 5
@


1.36
log
@List your roles, if any, on ProjectHome
@
text
@d1 2
a2 2
#set $myRoles = $loginUser.getRolesInProject($currentProject.getID())
#set $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject.getID())
d32 1
a32 1
  #if ($acl.hasPermissionForProject("Project - Approve", $currentProject.getID()))   
d43 1
a43 1
 #if ($acl.hasPermissionForProject("ProjectGroup - Edit", $currentProject.getID())) 
d48 1
a48 1
 #if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID())) 
d56 1
a56 1
  #if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID()))
d150 1
a150 1
#if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID())) 
@


1.36.4.1
log
@Converted permission checking somewhat.
@
text
@d32 1
a32 1
  #if ($acl.hasPermissionForProject("Project - Approve", $currentProject))   
d43 1
a43 1
 #if ($acl.hasPermissionForProject("ProjectGroup - Edit", $currentProject)) 
d48 1
a48 1
 #if ($acl.hasPermissionForProject("Project - Edit", $currentProject)) 
d56 1
a56 1
  #if ($acl.hasPermissionForProject("Project - Edit", $currentProject))
d150 1
a150 1
#if ($acl.hasPermissionForProject("Project - Edit", $currentProject)) 
@


1.36.4.2
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d32 1
a32 1
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
d43 1
a43 1
 #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
d48 1
a48 1
 #if ($acl.hasPermission("Project - Edit", $currentProject)) 
d56 1
a56 1
  #if ($acl.hasPermission("Project - Edit", $currentProject))
d150 1
a150 1
#if ($acl.hasPermission("Project - Edit", $currentProject)) 
@


1.36.4.3
log
@passing objects instead of ID's
@
text
@d1 2
a2 2
#set $myRoles = $loginUser.getRolesInProject($currentProject)
#set $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject)
@


1.35
log
@changed links over to vhosting mode
@
text
@a115 1
   #set $commaHolder=""
d118 18
a135 1
       <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
@


1.34
log
@Made more text boxes bigger.
@
text
@d136 1
a136 1
##    <A HREF="/servlets/ProjectEditInfo?projectID=$currentProject.getID()">Edit</A>
@


1.33
log
@Corrected typo.
@
text
@d177 1
a177 1
       There are not yet any projects in this group.
@


1.32
log
@Now uses word mark.
@
text
@d170 1
a170 1
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getWorMark()</a></TD>
@


1.31
log
@Made project servlets more friendly to project groups.
@
text
@d27 1
a27 1
    <TD nowrap><SPAN CLASS="Header" valign="bottom">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN>
d170 1
a170 1
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getName()</a></TD>
@


1.31.2.1
log
@moved changes related to wordmarks to branch
@
text
@d27 1
a27 1
    <TD nowrap><SPAN CLASS="Header" valign="bottom">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getWordMark()</SPAN>
d170 1
a170 1
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getWorMark()</a></TD>
@


1.31.2.2
log
@Back out references to Project.getWordMark( ).  Not implemented in java code at time of TIGRIS_0_9_0 tagging
@
text
@d27 1
a27 1
    <TD nowrap><SPAN CLASS="Header" valign="bottom">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN>
@


1.31.2.3
log
@removed reference to a method not in this branch
@
text
@d170 1
a170 1
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getName()</a></TD>
@


1.30
log
@Treat categories as project groups.
@
text
@d5 7
a11 5
  {
  #set $projectType = "Category"
  }
#else
  {
d13 2
a14 1
  }
a39 4
#if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID())) 
  { 
      <A HREF="$currentProject.getProjectPageURL("ProjectEdit")">Edit $projectType</A>
  }
d41 14
a54 1
#if (!$currentProject.isGroup()) 
d62 1
a62 1
      <A HREF="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This Project</A>
@


1.29
log
@removed line that tells you your role in the project
this was not needed, too much clutter, and not welcoming for people
viewing OS projects
@
text
@d42 1
a42 1
#if (!$currentProject.isCategory()) 
d68 1
a68 1
#if (!$currentProject.isCategory()) 
d90 1
a90 1
#if (!$currentProject.isCategory())  
d143 1
a143 1
#if ($currentProject.isCategory()) 
d145 1
d154 2
a155 1
    #foreach $catProject in $currentProject.getCategoryProjects($acl)
d158 2
a159 2
    <TD CLASS="ProjectName"><a href="$catProject.getProjectHome()">$catProject.getName()</a></TD>
    <TD CLASS="ProjectName">$catProject.getShortDescription()</TD>
d162 6
a167 6
#if ($currentProject.getCategoryProjects($acl).isEmpty()) {
 <TR> 
    <TD CLASS="PlainText" COLSPAN="2"><i>
      There are no projects in this category yet.
    </i></TD>
  </TR>
@


1.28
log
@style applied to alternative sentence
@
text
@a170 45
<HR SIZE="1" NOSHADE> 
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
<TR><TD>
#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
{
 #set $firstRole=true
  <SPAN class="StatText">Your roles in this project:</SPAN>
  <span CLASS="Copy">
  #foreach $role in $myRoles
  {
   #if ($firstRole)
   {
    $role.getName()
    #set $firstRole=false
   } #else {
    , $role.getName()
   }
  }

  #foreach $role in $myRequestedRoles
  {
   #if ($firstRole)
   {
    $role.getName()
    #set $firstRole=false
   } #else {
    , $role.getName()
   }
   <FONT COLOR="red">(Pending)</FONT>
  }
</span>

} #else {
  #if (!$project.isCategory()) 
  {
  <span CLASS="Copy">
   You have no roles in this project.
  </span>
  }
}

</TD>
</TR>
</TABLE>

@


1.27
log
@minor html fixes
@
text
@d201 2
d206 1
d208 1
a210 1
</span>
@


1.26
log
@Show user's roles on project homepage.
@
text
@d178 1
d207 5
a211 1
</TR></TD></TABLE>
@


1.25
log
@Added and used method to show the user's sourcecast address, as opposed to the address they signed up with.
@
text
@d1 2
d39 1
a39 1
      <A HREF="/servlets/ProjectEdit?projectID=$currentProject.getID()">Edit $projectType</A>
d48 1
a48 1
  #if (($loginUser.getRolesInProject($currentProject.getID()).size() == 0) && ($loginUser.getRequestedRolesInProject($currentProject.getID()).size() == 0)) 
d50 1
a50 1
      <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Join This Project</A>
d54 1
a54 1
      <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Request New Project Role</A>
d99 1
a99 1
#if (!$owners.size()==0)
d124 1
a124 1
##    <A HREF="/servlets/ProjectEditInfo?pr\ojectID=$currentProject.getID()">Edit</A>
d170 39
a208 1
		
@


1.24
log
@Owner message now wrapping
@
text
@d105 1
a105 1
       <a href="mailto:$owner.getEmail()">$owner.getName()</a>
@


1.23
log
@added sentence when 0 projects
@
text
@d118 1
a118 1
    <TD nowrap><SPAN CLASS="StatText">Message From the Owner(s):&nbsp;&nbsp;</SPAN><SPAN CLASS="PlainText">$ownerMsg</SPAN>
@


1.23.2.1
log
@merged in changes from HEAD
@
text
@d105 1
a105 1
       <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
d118 1
a118 1
    <TD ><SPAN CLASS="StatText">Message From the Owner(s):&nbsp;&nbsp;</SPAN><SPAN CLASS="PlainText">$ownerMsg</SPAN>
@


1.22
log
@took out commas, they were spaced wrong and there is not easy way to fix it
@
text
@d158 8
@


1.21
log
@yet another CSS nit pick change.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d105 1
a105 2
      $commaHolder <a href="mailto:$owner.getEmail()">$owner.getName()</a>
      #set $commaHolder=","
@


1.20
log
@fixed minor CSS error.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d22 1
a22 1
    <TD nowrap><SPAN CLASS="Header">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN>
d26 1
a26 1
  <span class="PlainText>(<font color="red">Pending Approval</font></span>       
d29 1
a29 1
    | <a href="/servlets/ProjectApproval">Approve</a>   
d34 1
a34 1
    <TD align="right" class="PlainText" nowrap>
@


1.19
log
@not showing empty owners line for categories
@
text
@d26 1
a26 1
  (<font color="red">Pending Approval</font>       
@


1.18
log
@added project owners
@
text
@a59 1
 
d95 4
d102 3
a104 3
#set $commaHolder=""
#foreach $owner in $currentProject.getOwners()
{
d106 2
a107 2
#set $commaHolder=","
}
d110 1
@


1.17
log
@inserted extra spaces btw attribute label and text
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 1
d99 6
a104 6
##set $commaHolder=""
##foreach $admin in $currentProject.getAdmins()
##{
##      $commaHolder <a href="mailto:$admin.getEmail()">$admin.getName()</a>
##  #set $commaHolder=","
##}
@


1.16
log
@added if statement to not show Owner Msg table if no owner msg

PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d62 1
a62 1
    <TD nowrap><SPAN CLASS="StatText">Summary: </SPAN></TD> 
d69 1
a69 1
    <TD nowrap><SPAN CLASS="StatText">Category: </SPAN></TD> 
d91 1
a91 1
    <TD nowrap><SPAN CLASS="StatText">License: </SPAN></TD> 
d96 1
a96 1
    <TD nowrap><SPAN CLASS="StatText">Owner(s): </SPAN></TD> 
d114 1
a114 1
    <TD nowrap><SPAN CLASS="StatText">Message From the Owner(s):</SPAN> <SPAN CLASS="PlainText">$ownerMsg</SPAN>
@


1.15
log
@Changed UI
@
text
@d12 1
a12 1
  #set $ownerMsg="Currently no message."
d108 2
d123 1
@


1.14
log
@removed $projectType from the headings with "Owner(s)"
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d62 1
a62 1
    <TD nowrap><SPAN CLASS="StatText">Summary:</SPAN></TD> 
d69 1
a69 1
    <TD nowrap><SPAN CLASS="StatText">Category:</SPAN></TD> 
d91 1
a91 1
    <TD nowrap><SPAN CLASS="StatText">License:</SPAN></TD> 
d96 1
a96 1
    <TD nowrap><SPAN CLASS="StatText">Owner(s):</SPAN></TD> 
@


1.13
log
@removed some spaces
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d96 1
a96 1
    <TD nowrap><SPAN CLASS="StatText">$projectType Owner(s):</SPAN></TD> 
d112 1
a112 1
    <TD nowrap><SPAN CLASS="StatText">Message From the $projectType Owner(s):</SPAN> <SPAN CLASS="PlainText">$ownerMsg</SPAN>
@


1.12
log
@moved approval text
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d47 1
a47 1
     &nbsp;  <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Join This Project</A>
d51 1
a51 1
    &nbsp;  <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Request New Project Role</A>
@


1.11
log
@applied new ui design
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 12
a32 1
    <TD nowrap><SPAN CLASS="Header">$projectType:</SPAN> <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>   
a53 9

#if( !$currentProject.isApproved() ) 
  { 
  <font color="red">Pending Approval</font>     
  #if ($acl.hasPermissionForProject("Project - Approve", $currentProject.getID())) 
    { 
    (<a href="/servlets/ProjectApproval">Approve</a>) 
    } 
  } 
d55 1
a55 1
  </TR> 
@


1.10
log
@moved descriptions
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d19 1
a19 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" BORDER="0" WIDTH="100%"> 
d43 1
d54 5
d60 2
a61 1
    <TD nowrap COLSPAN="2"><SPAN CLASS="StatText">Summary:</SPAN> <SPAN CLASS="PlainText">$currentProject.getShortDescription()</SPAN></TD>    
d67 2
a68 1
    <TD nowrap COLSPAN="2"><SPAN CLASS="StatText">Category:</SPAN> <SPAN CLASS="PlainText">
d89 2
a90 1
    <TD nowrap COLSPAN="2"><SPAN CLASS="StatText">License:</SPAN> <SPAN CLASS="PlainText">$currentProject.getLicense()</SPAN></TD>   
d92 1
a92 1
}
d94 2
a95 1
    <TD nowrap COLSPAN="2"><SPAN CLASS="StatText">$projectType Admins:</SPAN> <SPAN CLASS="PlainText">
d104 5
d110 1
a110 1
    <TD nowrap COLSPAN="2"><SPAN CLASS="StatText">Message From the $projectType Owner:</SPAN> <SPAN CLASS="PlainText">$ownerMsg</SPAN>
d119 3
d125 1
a125 1
    <TD>
d130 1
@


1.9
log
@changed a style
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d53 3
d77 3
d107 1
a107 4
    <TD class="SmallHeader" nowrap>Description:</TD> 
  </TR> 
  <TR> 
    <TD COLSPAN="3" CLASS="Copy"><SPAN CLASS="StatText">$currentProject.getShortDescription()</SPAN><BR> 
@


1.8
log
@applied new ui design
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 1
a21 1
    <TD nowrap><SPAN CLASS="Header">$projectType:</SPAN> <SPAN CLASS="ProjectHeader">$currentProject.getName()</SPAN></TD>   
@


1.7
log
@Only run delete user scripts if there are users to delete... words to live by.
@
text
@d19 7
a25 8
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
     <TD class="Header" nowrap>$projectType Home: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>
     <TD align="right" class="ProjectName" nowrap>

#if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID()))
  {
       <A HREF="/servlets/ProjectEdit?projectID=$currentProject.getID()">Edit $projectType</A>  &nbsp;
d28 2
a29 3
#if (!$currentProject.isCategory())
{

d31 20
a50 10
    {
    |
    }
       #if (($loginUser.getRolesInProject($currentProject.getID()).size() == 0) && ($loginUser.getRequestedRolesInProject($currentProject.getID()).size() == 0))
       {
     &nbsp;  <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Join This Project</A></TD>
       } #else {
     &nbsp;  <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Request New Project Role</A></TD>
       }
  }
d52 1
a52 1
  </TR>
d54 23
a76 12
#if( !$currentProject.isApproved() )
{
   <TR>
    <TD COLSPAN="1" CLASS="Copy"><font color="red">Pending Approval</font>    
 #if ($acl.hasPermissionForProject("Project - Approve", $currentProject.getID()))
 {
  (<a href="/servlets/ProjectApproval">Approve</a>)
 }


    </TD>
    </TR>
a77 16
</TABLE>


<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD COLSPAN="3" CLASS="Copy"><span class="ProjectDownloadHeader">Summary:</span> $currentProject.getShortDescription()
      <P>
    <span class="ProjectDownloadHeader">Description:</span> $currentProject.getLongDescription()
      <P>
    </TD>
  </TR>
#if ($currentProject.isCategory())
  {
  }
#else
  {
d79 8
a86 1
    <TD COLSPAN="3" WIDTH="100%"><HR SIZE="1" NOSHADE></TD> 
d89 1
a89 27
    <TD CLASS="PlainText"><span class="ProjectDownloadHeader">Categories:</span></TD>
  #set $categories = $currentProject.getCategories()
    <TD WIDTH="100%" NOWRAP>
  #if ($categories.isEmpty())
    {
      None
    } 
  #else 
    {
    <TABLE BORDER="0">
    #foreach $category in $categories 
      {
      <TR><TD CLASS="PlainText">$category.getName()</TD></TR>
      }
    </TABLE>
    }
    </TD>
    <TD CLASS="PlainText" nowrap><span class="ProjectDownloadHeader">License:</span> $currentProject.getLicense()</TD>
  </TR>
  <TR>
    <TD HEIGHT="5" COLSPAN="3"><SPACER TYPE="block" HEIGHT="5"></TD>
  </TR>
  <TR>
    <TD HEIGHT="3" BACKGROUND="/branding/images/dotted_bg.gif" COLSPAN="3"><SPACER TYPE="block" HEIGHT="3"></TD>
  </TR>
  }
</TABLE>
d91 9
a99 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
d101 1
a101 1
    <TD COLSPAN="2" WIDTH="100%"><HR SIZE="1" NOSHADE></TD> 
a102 10
  <TR>
    <TD class="ProjectHeader" nowrap>Message from $projectType Owner:</TD>
#if ($acl.hasPermissionForProject("Project - Edit", $currentProject.getID()))
{
##    <TD class="TableData" ALIGN="right"><A HREF="/servlets/ProjectEditInfo?projectID=$currentProject.getID()">Edit</A></TD>
}
  </TR>
  <TR> 
    <TD COLSPAN="2" CLASS="Copy">$ownerMsg</TD> 
  </TR>
d104 3
a106 1
    <TD HEIGHT="5"><SPACER TYPE="block" HEIGHT="5"></TD> 
d108 2
a109 2
</TABLE>
         
d128 1
a128 1
}
@


1.6
log
@changed "Short Description" to "Summary"
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d52 1
a52 1
  (<a href="/servlets/ProjectApprove?projectID=$currentProject.getID()">Approve</a>)
@


1.5
log
@made consitent capitals
@
text
@d134 1
a134 1
    <TD CLASS="InputHeader" BGCOLOR="#efefef">Short Description</TD> 
@


1.4
log
@Added field descriptions and approve button (where appropriate)
@
text
@d40 1
a40 1
     &nbsp;  <A HREF="/servlets/ProjectMembershipRequest?projectID=$currentProject.getID()">Request new project role</A></TD>
@


1.3
log
@Fixed bad image call.
@
text
@d23 1
d29 3
a31 5
#if ($currentProject.isCategory())
  {
  }
#else
  {
d50 6
d64 1
a64 1
    <TD COLSPAN="3" CLASS="Copy">$currentProject.getShortDescription()
d66 1
a66 1
      $currentProject.getLongDescription()
@


1.2
log
@set it so that the Join This project link says Request new project role if they already have a role (or requested role) on the project
@
text
@d97 1
a97 1
    <TD HEIGHT="3" BACKGROUND="/images/dotted_bg.gif" COLSPAN="3"><SPACER TYPE="block" HEIGHT="3"></TD>
@


1.1
log
@Initial revision
@
text
@d37 2
d40 3
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 3
#set $myRoles = $loginUser.getRolesInProject($currentProject)
#set $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject)

d2 5
a6 7
{
 #set $projectType = "Category"
} #else {
 #if ($currentProject.isGroup())
 {
  #set $projectType = "Group"
 } #else {
d8 1
a8 2
 }
}
d12 1
a12 1
  #set $ownerMsg="none"
d19 8
a26 3
<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>
d28 13
a40 11
#if( !$currentProject.isApproved() )   
  {   
  <span class="PlainText">(<font color="red">Pending Approval</font> 
  #if ($acl.hasPermission("Project - Approve", $currentProject))   
    {   
    | <a href="/servlets/ProjectApproval">Approve</a></span>   
    }   
  )
  }   
    </TD>   
    <TD align="right" class="PlainText" nowrap valign="bottom">
d42 1
a42 1
#if ($currentProject.isGroup())
d44 4
a47 9
 #if ($acl.hasPermission("ProjectGroup - Edit", $currentProject)) 
 {   
     <A HREF="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit $projectType</A>
 }
} #else {
 #if ($acl.hasPermission("Project - Edit", $currentProject)) 
 {   
  <A HREF="$currentProject.getProjectPageURL("ProjectEdit")">Edit $projectType</A>
 }
d49 2
d52 6
a57 15
#if (!$currentProject.isCategory()) 
  { 
  #if ($acl.hasPermission("Project - Edit", $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>
    } 
  } 
d60 5
a64 11
</TABLE> 
 
<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>  

#if (!$currentProject.isGroup()) 
  { 
d66 1
a66 17
    <TD nowrap><SPAN CLASS="StatText">Category:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">
  #set $categories = $currentProject.getCategories() 
  #if ($categories.isEmpty()) 
    { 
      None 
    }  
  #else  
    { 
    #set $commaHolder=""
    #foreach $category in $categories  
      { 
      $commaHolder $category.getName() 
      #set $commaHolder="," 
      } 
    } 
    </SPAN></TD>   
a67 3
  }
#if (!$currentProject.isGroup())  
  {  
d69 25
a93 3
    <TD nowrap><SPAN CLASS="StatText">License:&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">$currentProject.getLicense()</SPAN></TD>   
  </TR> 
d95 1
d97 1
a97 3
#set $owners = $currentProject.getOwners()
#if (!$owners.isEmpty())
{
d99 1
a99 7
    <TD nowrap><SPAN CLASS="StatText">Owner(s):&nbsp;&nbsp;</SPAN></TD> 
    <TD><SPAN CLASS="PlainText">
   #foreach $owner in $currentProject.getOwners()
   {
    <a href="mailto:$owner.getDomainEmail()">$owner.getName()</a>
   }
    </SPAN></TD>   
d101 3
a103 3
}

#if (!($myRoles.isEmpty() && $myRequestedRoles.isEmpty()))
d105 1
a105 13
 <TR>
  <TD nowrap><SPAN CLASS="StatText">Your Role(s):&nbsp;&nbsp;</SPAN></TD> 
   <TD><SPAN CLASS="PlainText">
   #foreach $role in $myRoles
   {
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a>
   }
   #foreach $role in $myRequestedRoles
   {
       <a href="RoleView?roleID=$role.getID()">$role.getName()</a> <font color="red">(Pending)</font>
   }
    </SPAN></TD>   
  </TR> 
d107 1
a107 7
</TABLE> 

#if ($ownerMsg!="none") 
  { 
<HR SIZE="1" NOSHADE> 

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
d109 2
a110 15
    <TD ><SPAN CLASS="StatText">Message From the Owner(s):&nbsp;&nbsp;</SPAN><SPAN CLASS="PlainText">$ownerMsg</SPAN>

#if ($acl.hasPermission("Project - Edit", $currentProject)) 
  { 
##    <A HREF="$currentProject.getProjectPageURL("ProjectEditInfo")">Edit</A>
  } 
    </TD>   
  </TR> 
</TABLE> 
  }

#if ($currentProject.getLongDescription()!="")
  {
<HR SIZE="1" NOSHADE> 
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> 
d112 1
a112 3
    <TD COLSPAN="3" CLASS="Copy"><BR>
    $currentProject.getLongDescription()    
    </TD> 
d114 3
a116 4
</TABLE> 
  }

#if ($currentProject.isGroup()) 
a117 1
  #set $group=$currentProject.asGroup()
d124 1
a124 1
    <TD CLASS="InputHeader" BGCOLOR="#efefef">Summary</TD> 
d126 1
a126 2
    #set $projects=$group.getProjects($acl)
    #foreach $project in $projects
d129 2
a130 2
    <TD CLASS="ProjectName"><a href="$project.getProjectHome()">$project.getWordMark()</a></TD>
    <TD CLASS="ProjectName">$project.getShortDescription()</TD>
d133 1
a133 7
    #if ($projects.isEmpty()) {
     <TR> 
      <TD CLASS="PlainText" COLSPAN="2"><i>
       There are not yet any projects in this $projectType.toLowerCase().
      </i></TD>
    </TR>
 
d135 1
a135 4
</TABLE>
  }


@

