</properties> <head> <script type="text/javascript"> function offsetDate(id, offset) { var now = new Date() ; var nowTime = now.getTime() ; var localOffset = now.getTimezoneOffset() ; var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 * 1000) ; var developerDate = new Date(developerTime) ; document.getElementById(id).innerHTML = developerDate; } function init() { #foreach ($developer in $project.developers) #if ($developer.timezone) #if ($developer.timezone != "") offsetDate("developer-$developer.id", "$developer.timezone"); #end #end #end } </script> </head> <body onload="init();"> <section key="template.team_list.section.title" bundle="plugin-resources\templates\templates"> <p> <message key="template.team_list.section.description1" bundle="plugin-resources\templates\templates" /> </p> <p> <message key="template.team_list.section.description2" bundle="plugin-resources\templates\templates" /> </p> <subsection key="template.team_list.section.members.title" bundle="plugin-resources\templates\templates"> #if ($project.developers.size() == 0) <p> <message key="template.team_list.section.no_developer" bundle="plugin-resources\templates\templates" /> </p> #else <p> <message key="template.team_list.section.developers" bundle="plugin-resources\templates\templates" /> </p> <table> <thead> <tr> <th> <message key="template.team_list.section.developer.name" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.id" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.email" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.organization" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.roles" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.offset" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.developer.time" bundle="plugin-resources\templates\templates" /> </th> </tr> </thead> <tbody> #foreach ($developer in $project.developers) <tr> #if ($developer.url.length() != 0) <td> <a href="$developer.url"> $!developer.name </a> </td> #else <td>$!developer.name</td> #end <td> <a name="$!developer.id" /> $!developer.id </td> <td> <a href="mailto:$!developer.email"> $!developer.email </a> </td> <td>$!developer.organization</td> <td> #foreach ($role in $developer.roles) $role <br /> #end </td> <td>$!developer.timezone</td> <td> <span id="developer-$developer.id"> <message key="template.team_list.section.developer.timezone.unknown" bundle="plugin-resources\templates\templates" /> </span> </td> </tr> #end </tbody> </table> #end </subsection> <subsection key="template.team_list.section.contributors.title" bundle="plugin-resources\templates\templates"> #if ($project.contributors.size() == 0) <p> <message key="template.team_list.section.no_contributor" bundle="plugin-resources\templates\templates" /> </p> #else <p> <message key="template.team_list.section.contributors" bundle="plugin-resources\templates\templates" /> </p> <table> <thead> <tr> <th> <message key="template.team_list.section.contributor.name" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.contributor.email" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.contributor.organization" bundle="plugin-resources\templates\templates" /> </th> <th> <message key="template.team_list.section.contributor.roles" bundle="plugin-resources\templates\templates" /> </th> </tr> </thead> <tbody> #foreach ($contributor in $project.contributors) <tr> <td>$!contributor.name</td> <td> <a href="mailto:$!contributor.email"> $!contributor.email </a> </td> <td>$!contributor.organization</td> <td> #foreach ($role in $contributor.roles) $role <br /> #end </td> </tr> #end </tbody> </table> #end </subsection> </section> </body> </document>