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


1.13
date	2001.08.24.20.38.15;	author kmaples;	state Exp;
branches;
next	1.12;

1.12
date	2001.08.20.22.29.23;	author tfahrner;	state Exp;
branches;
next	1.11;

1.11
date	2001.08.03.05.45.07;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.07.31.01.18.40;	author tfahrner;	state Exp;
branches;
next	1.9;

1.9
date	2001.07.31.00.01.56;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.07.30.21.59.23;	author tfahrner;	state Exp;
branches;
next	1.7;

1.7
date	2001.07.30.21.24.28;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.18.21.46.08;	author neil;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.12.19.50.28;	author neil;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.11.21.33.05;	author neil;	state Exp;
branches;
next	1.3;

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

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

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


desc
@@


1.13
log
@Fixed links to project issues which no longer require/use full email add.
@
text
@<div id="projectissues" class="app">


#set( $projectName = $currentProject.getName() )

<h3>Project Issues: <a href="$currentProject.getProjectPageURL("ProjectHome")">$projectName</a></h3>


#if( $acl.hasPermission("Project Issue Tracking - Query", $currentProject) )
    #set( $bugform = $currentProject.getProjectFileURL("/issues/show_bug.cgi") )
    #set( $querylink = $currentProject.getProjectFileURL("/issues/query.cgi","component=$projectName") )
<h4>Query Database of Issues</h4>
 <p>
  Search for issues and defects here or find a specific issue. Always search first before reporting an issue to avoid duplication.
 </p>

 <form method="get" action="$bugform">
  <p>
   <a href="$querylink">Query Database</a> or <input type="submit" value="Find" /> issue # <input name="id" size="6" />
  </p>
 </form>
#end


#if( $acl.hasPermission("Project Issue Tracking - Submit", $currentProject) )
<h4>Enter An Issue</h4>

## apparently $isMultipleDatabases is wrong, need to come back to this and make it work later.
##   #if ((!$isMultipleDatabases) && ($currentProject.isPrivate()))
##   {
##     <p><strong class="alert">Warning: Information entered about an issue cannot be kept proprietary.</strong>
</p>
##   }

<p>
 To enter an issue, you must first be a project member and know the component you want to report on.
</p>

	## Webmacro seems to choke on the nesting if you put these in the link,
	## hence their definition outside:
	
    #set( $enterbug = "/issues/enter_bug.cgi" )
    #set( $defect_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=DEFECT&amp;component=$projectName") )
    #set( $patch_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=PATCH&amp;component=$projectName") )
    #set( $task_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=TASK&amp;component=$projectName") )
    #set( $feature_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=FEATURE&amp;component=$projectName") )
    #set( $enhance_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=ENHANCEMENT&amp;component=$projectName") )

 <p>
        Enter:
        <a href="$defect_link">Defect</a> |
        <a href="$patch_link">Patch</a> |
        <a href="$task_link">Task</a> |
        <a href="$feature_link">Feature</a> |
        <a href="$enhance_link">Enhancement</a>
  </p>
#end

 
#if( $acl.hasPermission("Project Issue Tracking - Submit", $currentProject) )
  #set( $myissues_link = $currentProject.getProjectFileURL("/issues/buglist.cgi","issue_status=NEW&amp;issue_status=STARTED&amp;issue_status=REOPENED&amp;email1=$loginUser.getLoginName()&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1") )
  #set( $myprefs_link = $currentProject.getProjectFileURL("/issues/userprefs.cgi") )

<h4>My Issues</h4>
 <p>
  View both active issues assigned to you and those that you have entered.
 </p>
 <p>
  <a href="$myissues_link">My Issues</a>
 </p>
 
<h4>My Preferences</h4>
 <p>
  View and edit your issue tracking user settings. 
 </p>
 <p>
  <a href="$myprefs_link">My Preferences</a>
 </p>
 
#end

#if( $acl.hasPermission("Project Issue Tracking - Configure", $currentProject) )
	
#set( $editusers = "/issues/editusers.cgi" )
#set( $editgroups = "/issues/editgroups.cgi" )
#set( $editproducts = "/issues/editproducts.cgi" )
#set( $action = "action=list&amp;matchstr=&amp;matchtype=substr" )
#set( $editusers_link = $currentProject.getProjectFileURL($editusers, $action) )
#set( $editgroups_link = $currentProject.getProjectFileURL("$editgroups") ) 
#set( $editcomponents_link = $currentProject.getProjectFileURL("$editproducts") )

<h4>Edit Users</h4>
 <p>
  Edit issue tracking permissions for project members, including email preferences and access privileges.
 </p>
 <p>
  <a href="$editusers_link">Edit Users</a> 
 </p>

<h4>Edit Groups</h4>
 <p>
  Add and configure issue tracking groups.
 </p>
 <p>
  <a href="$editgroups_link">Edit Groups</a>
 </p>

<h4>Edit Components</h4>
 <p>
  Add and edit your project's components and subcomponents for issue tracking.
 </p>
 <p>
  <a href="$editcomponents_link">Edit Components</a>
 </p>
 
#end

</div>
@


1.12
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@d61 1
a61 1
  #set( $myissues_link = $currentProject.getProjectFileURL("/issues/buglist.cgi","issue_status=NEW&amp;issue_status=STARTED&amp;issue_status=REOPENED&amp;email1=$loginUser.getLoginName()%40$currentDomain.getName()&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1") )
@


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


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


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


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


1.7
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="projectissues">
@


1.6
log
@ui recode: now with h4's and p's, not tables
@
text
@d30 2
a31 1
##     <p class="alert">Warning: Information entered about an issue cannot be kept proprietary.</p>
d117 1
a117 1
</div>@


1.5
log
@ui recode correction
@
text
@d7 1
a7 2
<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
d9 12
a20 1
  <th width="50%">Query Database of Issues</th>
d22 2
d25 1
a25 3
  <th width="50%">Enter An Issue</th>
#end
 </tr>
a26 7
 <tr>
#if( $acl.hasPermission("Project Issue Tracking - Query", $currentProject) )  
  <td width="50%">Search for issues and defects here or find a specific issue.
Always search first before reporting an issue to avoid duplication.</td>
#end
#if( $acl.hasPermission("Project Issue Tracking - Submit", $currentProject) )
  <td width="50%">
d30 1
a30 1
##     <span class="alert">Warning: Information entered about an issue cannot be kept proprietary.</span>
a31 4
To enter an issue, you must first be a project member and know
the component you want to report on.</td>
#end
 </tr>
d33 3
a35 11
 <tr>
#if( $acl.hasPermission("Project Issue Tracking - Query", $currentProject) )
    #set( $bugform = $currentProject.getProjectFileURL("/issues/show_bug.cgi") )
    #set( $querylink = $currentProject.getProjectFileURL("/issues/query.cgi","component=$projectName") )
 
  <td width="50%">
   <form method="get" action="$bugform">
    <a href="$querylink">Query Database</a> or <input type="submit" value="Find" /> issue # <input name="id" size="6" />
   </form>
  </td>
#end
a36 1
#if( $acl.hasPermission("Project Issue Tracking - Submit", $currentProject) )
d47 1
a47 1
  <td width="50%">
d54 1
a54 1
  </td>
d56 1
a56 3
 </tr>
</table>
 
d62 16
a77 22
<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
  <th width="50%">My Issues</th>
  <th width="50%">My Preferences</th>
 </tr>
 <tr>
  <td width="50%">
   View both active issues assigned to you and those that you have entered.
  </td>
  <td width="50%">
   View and edit your issue tracking user settings.
  </td>
 </tr>
 <tr>
  <td width="50%">
   <a href="$myissues_link">My Issues</a>
  </td>
  <td width="50%">
   <a href="$myprefs_link">My Preferences</a>
  </td>
 </tr>
</table>
d90 23
a112 38
<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
  <th width="50%">Edit Users</th>
  <th width="50%">Edit Groups</th>
 </tr>
 <tr>
  <td width="50%">
   Edit issue tracking permissions for project members, including email preferences and access privileges.
  </td>
  <td width="50%">
   Add and configure issue tracking groups.
  </td>
 </tr>
 <tr>
  <td width="50%">
   <a href="$editusers_link">Edit Users</a>
  </td>
  <td width="50%">
   <a href="$editgroups_link">Edit Groups</a>
  </td>
 </tr>
</table> 

<table border="0" cellspacing="0" cellpadding="2" width="50%">
 <tr>
  <th>Edit Components</th>
 </tr>
 <tr>
  <td>
   Add and edit your project's components and subcomponents for issue tracking.
  </td>
 </tr>
 <tr>
  <td>
   <a href="$editcomponents_link">Edit Components</a>
  </td>
 </tr>
</table>
@


1.4
log
@ui recoded
@
text
@d5 1
a5 1
<h3>Project Issues: <a href="$currentProject.getProjectPageURL("projecthome")">$projectName</a></h3>
@


1.3
log
@fixed more whatever crap
@
text
@d1 2
d5 1
a5 6
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Project Issues: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectPageURL("ProjectHome")">$projectName</a></SPAN></TD>
  </TR>
</TABLE>
<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2" BORDER="0" width="100%">
d7 2
a8 1
  <TR>
d10 1
a10 1
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>Query Database of Issues</b></TD>
d13 1
a13 1
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>Enter An Issue</b></TD>
d15 1
a15 1
  </TR>
d17 1
a17 1
  <TR>
d19 2
a20 2
    <TD WIDTH="50%" class="PlainText" VALIGN="top">Search for issues and defects here or find a specific issue.
Always search first before reporting an issue to avoid duplication.</TD>
d23 1
a23 1
    <TD WIDTH="50%" class="PlainText" VALIGN="top">
d27 1
a27 1
##     <FONT class="Warning">Warning: Information entered about an issue cannot be kept proprietary.</FONT> <BR>
d30 1
a30 1
the component you want to report on.</TD>
d32 1
a32 1
  </TR>
d34 1
a34 1
  <TR>
d39 5
a43 2
    <td width="50%" class="PlainText"><form method="GET" action="$bugform"><a href="$querylink">Query Database</a> or <input type="submit" value="Find"> issue # <input name="id" size="6"></FORM>
    </TD>
d51 5
a55 5
    #set( $defect_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=DEFECT&component=$projectName") )
    #set( $patch_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=PATCH&component=$projectName") )
    #set( $task_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=TASK&component=$projectName") )
    #set( $feature_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=FEATURE&component=$projectName") )
    #set( $enhance_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=ENHANCEMENT&component=$projectName") )
d57 1
a57 1
    <TD WIDTH="50%" class="PlainText">
d59 6
a64 6
        <A HREF="$defect_link">Defect</a> |
        <A HREF="$patch_link">Patch</a> |
        <A HREF="$task_link">Task</a> |
        <A HREF="$feature_link">Feature</a> |
        <A HREF="$enhance_link">Enhancement</a>
    </TD>
d66 4
a69 2
  </TR>

d71 1
a71 1
  #set( $myissues_link = $currentProject.getProjectFileURL("/issues/buglist.cgi","issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&email1=$loginUser.getLoginName()%40$currentDomain.getName()&emailtype1=exact&emailassigned_to1=1&emailreporter1=1") )
d74 22
a95 12
  <TR>
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>My Issues</b></TD>
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>My Preferences</b></TD>
  </TR>
  <TR>
    <TD WIDTH="50%" class="PlainText" VALIGN="top">View both active issues assigned to you and those that you have entered.</TD>
    <TD WIDTH="50%" class="PlainText" VALIGN="top">View and edit your issue tracking user settings.</TD>
  </TR>
  <TR>
    <TD WIDTH="50%" class="PlainText"><A HREF="$myissues_link">My Issues</A></TD>
    <TD WIDTH="50%" class="PlainText"><A HREF="$myprefs_link">My Preferences</a></TD>
  </TR>
d97 1
d103 1
a103 1
#set( $action = "action=list&matchstr=&matchtype=substr" )
d108 39
a146 35

  <TR>
    <TD colspan="2">&nbsp;</TD>
  <TR>

  <TR>
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>Edit Users</b></TD>
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>Edit Groups</b></TD>
  </TR>

  <TR>
    <TD WIDTH="50%" class="PlainText" VALIGN="top">Edit issue tracking permissions for project members, including
email preferences and access privileges.</TD>
    <TD WIDTH="50%" class="PlainText" VALIGN="top">Add and configure issue tracking groups.</TD>
  </TR>
  <TR>
    <TD WIDTH="50%" class="PlainText"><A HREF="$editusers_link">Edit Users</a></TD>
    <TD WIDTH="50%" class="PlainText"><A HREF="$editgroups_link">Edit Groups</a></TD>
  </TR>


  <TR>
    <TD colspan="2">&nbsp;</TD>
  <TR>
  <TR>
    <TD WIDTH="50%" class="ProjectDownloadHeader" bgcolor="#efefef"><b>Edit Components</b></TD>
  </TR>
  <TR>
    <TD WIDTH="50%" class="PlainText" VALIGN="top">Add and edit your project's  components and subcomponents for
issue tracking.</TD>
  </TR>
  <TR>
    <TD WIDTH="50%" class="PlainText"><A HREF="$editcomponents_link">Edit Components</a></TD>
  </TR>

a147 1
</TABLE>
d149 1
@


1.2
log
@fixed broken args passing in templates made by conversion program
@
text
@d50 5
a54 5
    #set( $defect_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=DEFECT&component=$projectName")
    #set( $patch_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=PATCH&component=$projectName")
    #set( $task_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=TASK&component=$projectName")
    #set( $feature_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=FEATURE&component=$projectName")
    #set( $enhance_link = $currentProject.getProjectFileURL("$enterbug", "issue_type=ENHANCEMENT&component=$projectName")
d90 2
a91 2
#set( $editusers_link = $currentProject.getProjectFileURL($editusers, $action)
#set( $editgroups_link = $currentProject.getProjectFileURL("$editgroups") )
@


1.1
log
@Adding Velocity templates.
@
text
@d50 5
a54 5
    #set( $defect_link = $currentProject.getProjectFileURL("$enterbug", )"issue_type=DEFECT&component=$projectName")
    #set( $patch_link = $currentProject.getProjectFileURL("$enterbug", )"issue_type=PATCH&component=$projectName")
    #set( $task_link = $currentProject.getProjectFileURL("$enterbug", )"issue_type=TASK&component=$projectName")
    #set( $feature_link = $currentProject.getProjectFileURL("$enterbug", )"issue_type=FEATURE&component=$projectName")
    #set( $enhance_link = $currentProject.getProjectFileURL("$enterbug", )"issue_type=ENHANCEMENT&component=$projectName")
d90 1
a90 1
#set( $editusers_link = $currentProject.getProjectFileURL($editusers, )$action)
@

