Untitled diff

Created Diff never expires
3 removals
133 lines
3 additions
133 lines
<script src="https://www.google.com/jsapi"></script>
<script src="https://www.google.com/jsapi"></script>
<script>
<script>
google.load("visualization", "1", {packages:["corechart"]});
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
google.setOnLoadCallback(drawChart);
function drawChart() {
function drawChart() {
var status_chart_data = google.visualization.arrayToDataTable([
var status_chart_data = google.visualization.arrayToDataTable([
['{@labels.fields.status}', ${TextHelper::to_js_string(LangLoader::get_message('items_number', 'common'))}],
['{@labels.fields.status}', ${TextHelper::to_js_string(LangLoader::get_message('items_number', 'common'))}],
# START status #
# START status #
['{status.NAME}', {status.NUMBER}],
['{status.NAME}', {status.NUMBER}],
# END status #
# END status #
]);
]);
var status_chart_options = {
var status_chart_options = {
title: '',
title: '',
is3D: 'true',
is3D: 'true',
pieSliceText: 'none'
pieSliceText: 'none'
};
};
var status_chart = new google.visualization.PieChart(document.getElementById('status-chart'));
var status_chart = new google.visualization.PieChart(document.getElementById('status-chart'));
status_chart.draw(status_chart_data, status_chart_options);
status_chart.draw(status_chart_data, status_chart_options);
}
}
</script>
</script>
<div class="spacer"></div>
<div class="spacer"></div>
<section class="block">
<section class="block">
<header>
<header>
<h1>{@labels.fields.status}</h1>
<h1>{@labels.fields.status}</h1>
</header>
</header>
<div class="content">
<div class="content">
<div class="center">
<div class="center">
# IF C_BUGS #
# IF C_BUGS #
<div id="status-chart"></div>
<div id="status-chart"></div>
# ELSE #
# ELSE #
<div class="notice">{@notice.no_bug}</div>
<div class="message-helper notice">{@notice.no_bug}</div>
# ENDIF #
# ENDIF #
</div>
</div>
</div>
</div>
</section>
</section>
<div class="spacer"></div>
<div class="spacer"></div>
# IF C_DISPLAY_VERSIONS #
# IF C_DISPLAY_VERSIONS #
<section class="block">
<section class="block">
<header>
<header>
<h1>{@labels.fix_bugs_per_version}</h1>
<h1>{@labels.fix_bugs_per_version}</h1>
</header>
</header>
<div class="content">
<div class="content">
# IF C_FIXED_BUGS #
# IF C_FIXED_BUGS #
<table id="table">
<table id="table">
<thead>
<thead>
<tr>
<tr>
<th>
<th>
{@labels.fields.version}
{@labels.fields.version}
</th>
</th>
<th>
<th>
{@labels.fields.version_release_date}
{@labels.fields.version_release_date}
</th>
</th>
<th>
<th>
{@labels.number_fixed}
{@labels.number_fixed}
</th>
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
# START fixed_version #
# START fixed_version #
<tr>
<tr>
<td>
<td>
{fixed_version.NAME}
{fixed_version.NAME}
</td>
</td>
<td>
<td>
{fixed_version.RELEASE_DATE}
{fixed_version.RELEASE_DATE}
</td>
</td>
<td>
<td>
# IF C_ROADMAP_ENABLED #<a href="{fixed_version.LINK_VERSION_ROADMAP}">{fixed_version.NUMBER}</a># ELSE #{fixed_version.NUMBER}# ENDIF #
# IF C_ROADMAP_ENABLED #<a href="{fixed_version.LINK_VERSION_ROADMAP}">{fixed_version.NUMBER}</a># ELSE #{fixed_version.NUMBER}# ENDIF #
</td>
</td>
</tr>
</tr>
# END fixed_version #
# END fixed_version #
</tbody>
</tbody>
</table>
</table>
# ELSE #
# ELSE #
<div class="notice">{@notice.no_bug_solved}</div>
<div class="message-helper notice">{@notice.no_bug_solved}</div>
# ENDIF #
# ENDIF #
</div>
</div>
</section>
</section>
<div class="spacer"></div>
<div class="spacer"></div>
# ENDIF #
# ENDIF #
# IF C_DISPLAY_TOP_POSTERS #
# IF C_DISPLAY_TOP_POSTERS #
<section class="block">
<section class="block">
<header>
<header>
<h1>{@labels.top_posters}</h1>
<h1>{@labels.top_posters}</h1>
</header>
</header>
<div class="spacer"></div>
<div class="spacer"></div>
<div class="content">
<div class="content">
# IF C_POSTERS #
# IF C_POSTERS #
<table id="table2">
<table id="table2">
<thead>
<thead>
<tr>
<tr>
<th>
<th>
N&deg;
N&deg;
</th>
</th>
<th>
<th>
{@labels.login}
{@labels.login}
</th>
</th>
<th>
<th>
${LangLoader::get_message('items_number', 'common')}
${LangLoader::get_message('items_number', 'common')}
</th>
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
# START top_poster #
# START top_poster #
<tr>
<tr>
<td>
<td>
{top_poster.ID}
{top_poster.ID}
</td>
</td>
<td>
<td>
# IF top_poster.AUTHOR #<a href="{top_poster.LINK_AUTHOR_PROFILE}" class="{top_poster.AUTHOR_LEVEL_CLASS}" # IF top_poster.C_AUTHOR_GROUP_COLOR # style="color:{top_poster.AUTHOR_GROUP_COLOR}" # ENDIF #>{top_poster.AUTHOR}</a># ELSE #${LangLoader::get_message('visitor', 'user-common')}# ENDIF #
# IF top_poster.AUTHOR #<a href="{top_poster.LINK_AUTHOR_PROFILE}" class="{top_poster.AUTHOR_LEVEL_CLASS}" # IF top_poster.C_AUTHOR_GROUP_COLOR # style="color:{top_poster.AUTHOR_GROUP_COLOR}" # ENDIF #>{top_poster.AUTHOR}</a># ELSE #${LangLoader::get_message('visitor', 'user-common')}# ENDIF #
</td>
</td>
<td>
<td>
{top_poster.USER_BUGS}
{top_poster.USER_BUGS}
</td>
</td>
</tr>
</tr>
# END top_poster #
# END top_poster #
</tbody>
</tbody>
</table>
</table>
# ELSE #
# ELSE #
<div class="notice">{@notice.no_bug}</div>
<div class="message-helper notice">{@notice.no_bug}</div>
# ENDIF #
# ENDIF #
</div>
</div>
</section>
</section>
# ENDIF #
# ENDIF #