Submitted by: Vincent Siveton Reviewed by: Brett Porter, Arnaud Heritier Internationalization support for xdoc. Applied with changes git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@171222 13f79535-47bb-0310-9956-ffa450edef68
211 lines
8.9 KiB
XML
211 lines
8.9 KiB
XML
<?xml version="1.0" encoding="$encoding" ?>
|
|
<!--
|
|
/*
|
|
* Copyright 2001-2004 The Apache Software Foundation.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
|
|
<document>
|
|
<properties>
|
|
<title key="template.team_list.title"
|
|
bundle="plugin-resources\templates\templates" />
|
|
</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>
|