140 lines
5.9 KiB
Plaintext
140 lines
5.9 KiB
Plaintext
# --
|
|
# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/
|
|
# --
|
|
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
|
|
# the enclosed file COPYING for license information (GPL). If you
|
|
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
|
|
# --
|
|
|
|
<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst">
|
|
<h1 class="Header">[% Translate("Project report") | html %]: [% Data.Project | html %]</h1>
|
|
|
|
<div class="SidebarColumn">
|
|
<div class="WidgetSimple">
|
|
<div class="Header">
|
|
<h2>[% Translate("Actions") | html %]</h2>
|
|
</div>
|
|
<div class="Content">
|
|
<ul class="ActionList">
|
|
<li>
|
|
<a href="[% Env("Baselink") %]Action=[% Env("Action") %]" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-left"></i>[% Translate("Go to reporting overview") | html %]</span></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="WidgetSimple">
|
|
<div class="Header">
|
|
<h2>[% Translate("Hint") | html %]</h2>
|
|
</div>
|
|
<div class="Content">
|
|
[% IF Data.ShowOnlyActiveUsers == '1' %]
|
|
<p class="FieldExplanation">
|
|
[% Translate("Currently only active users in this project are shown. To change this behavior, please update setting:") | html %]
|
|
<a href="[% Env("Baselink") %]Action=AdminSysConfig;Subaction=Edit;SysConfigGroup=TimeAccounting;SysConfigSubGroup=Frontend::Agent::TimeAccoutning::ViewReportingProject">ShowOnlyActiveUsers</a>
|
|
</p>
|
|
[% ELSE %]
|
|
<p class="FieldExplanation">
|
|
[% Translate("Currently all time accounting users are shown. To change this behavior, please update setting:") | html %]
|
|
<a href="[% Env("Baselink") %]Action=AdminSysConfig;Subaction=Edit;SysConfigGroup=TimeAccounting;SysConfigSubGroup=Frontend::Agent::TimeAccoutning::ViewReportingProject">ShowOnlyActiveUsers</a>
|
|
</p>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ContentColumn">
|
|
<div class="WidgetSimple">
|
|
<div class="Header">
|
|
<h2>[% Translate("Project report") | html %]: [% Data.Project | html %]</h2>
|
|
</div>
|
|
<div class="Content">
|
|
|
|
[% RenderBlockStart("NoUserDataFoundMsg") %]
|
|
<div id="TimeAccountingEmptyMessageSmall">
|
|
[% Translate("No data found.") | html %]
|
|
</div>
|
|
[% RenderBlockEnd("NoUserDataFoundMsg") %]
|
|
|
|
[% RenderBlockStart("UserTable") %]
|
|
<table class="DataTable DataTableNoHighlight">
|
|
<thead>
|
|
<tr>
|
|
<th>[% Translate("Task") | html %]</th>
|
|
[% RenderBlockStart("UserName") %]
|
|
<th>[% Data.User | html %]</th>
|
|
[% RenderBlockEnd("UserName") %]
|
|
<th>[% Translate("Total") | html %]</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
[% RenderBlockStart("Action") %]
|
|
<td>[% Data.Action | html %]</td>
|
|
[% RenderBlockStart("User") %]
|
|
<td class="Right">[% Data.Hours | html %]</td>
|
|
[% RenderBlockEnd("User") %]
|
|
</tr>
|
|
[% RenderBlockEnd("Action") %]
|
|
<tr class="GrandTotal">
|
|
<td><strong>[% Translate("Total") | html %]</strong></td>
|
|
[% RenderBlockStart("UserTotal") %]
|
|
<td class="Right"><strong>[% Data.Total | html %]</strong></td>
|
|
[% RenderBlockEnd("UserTotal") %]
|
|
[% RenderBlockStart("UserTotalAll") %]
|
|
<td class="Right"><strong>[% Data.TotalAll | html %]</strong></td>
|
|
[% RenderBlockEnd("UserTotalAll") %]
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
[% RenderBlockEnd("UserTable") %]
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="WidgetSimple">
|
|
<div class="Header">
|
|
<h2>[% Translate("History") | html %]: [% Data.Project | html %]</h2>
|
|
</div>
|
|
<div class="Content">
|
|
|
|
[% RenderBlockStart("NoProjectDataFoundMsg") %]
|
|
<div id="TimeAccountingEmptyMessageSmall">
|
|
[% Translate("No data found.") | html %]
|
|
</div>
|
|
[% RenderBlockEnd("NoProjectDataFoundMsg") %]
|
|
|
|
[% RenderBlockStart("ProjectTable") %]
|
|
<table class="DataTable DataTableNoHighlight">
|
|
<thead>
|
|
<tr>
|
|
<th>[% Translate("Date") | html %]</th>
|
|
<th>[% Translate("User") | html %]</th>
|
|
<th>[% Translate("Task") | html %]</th>
|
|
<th>[% Translate("Remark") | html %]</th>
|
|
<th>[% Translate("Period") | html %]</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% RenderBlockStart("Row") %]
|
|
<tr>
|
|
<td>[% Data.Date | html %]</td>
|
|
<td>[% Data.User | html %]</td>
|
|
<td>[% Data.Action | html %]</td>
|
|
<td>[% Data.Remark | html %]</td>
|
|
<td class="Right">[% Data.Period | html %]</td>
|
|
</tr>
|
|
[% RenderBlockEnd("Row") %]
|
|
<tr class="GrandTotal">
|
|
[% RenderBlockStart("HistoryTotal") %]
|
|
<td colspan="4"><strong>[% Translate("Total") | html %]</strong></td>
|
|
<td class="Right"><strong>[% Data.HistoryTotal | html %]</strong></td>
|
|
[% RenderBlockEnd("HistoryTotal") %]
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
[% RenderBlockEnd("ProjectTable") %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|