Files
scripts/Perl OTRS/Kernel/Output/HTML/Templates/Standard/Statistics/YAxisWidget.tt
2024-10-14 00:08:40 +02:00

45 lines
2.0 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 id="YAxisContainer" class="Hidden">
[% RenderBlockStart("Attribute") %]
<fieldset class="TableLike Element Element[% Data.Element | html %] ElementBlock[% Data.Block | html %]" data-element="[% Data.Element | html %]">
<input type="hidden" name="Select[% Data.Element | html %]" value="1" />
<legend>
<span>[% Translate(Data.Name) | html %]</span>
<a class="RemoveButton" href="#"><i class="fa fa-minus-square-o"></i><span class="InvisibleText">[% Translate("Delete") | html %]</span></a>
</legend>
[% RenderBlockStart("MultiSelectField") %]
<label></label>
<div class="Field">
[% Data.SelectField %]
</div>
<div class="Clear"></div>
[% RenderBlockEnd("MultiSelectField") %]
[% RenderBlockStart("Time") %]
<label>[% Translate("Scale") | html %]:</label>
<div class="Field">
[% Data.TimeScaleUnit %]
<p class="FieldExplanation">[% Translate("Defines the time unit that will be used to split the selected time period into reporting data points.") | html %]</p>
# <p class="FieldExplanation">
# [% Translate("Please remember that the scale for the Y-axis has to be larger than the scale for the X-axis (e.g. X-axis => Month, Y-Axis => Year).") | html %]
# </p>
# [% Data.TimeScaleCount %] Comment: Danger to use and no best practise
</div>
[% RenderBlockEnd("Time") %]
<label></label>
<div class="Field">
<input type="checkbox" name="Fixed[% Data.Element | html %]" value="1" [% Data.Fixed %]/>
[% Translate("Do not allow changes to this element when the statistic is generated.") | html %]
</div>
<div class="Clear"></div>
</fieldset>
[% RenderBlockEnd("Attribute") %]
</div>