1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
# --
# Copyright (C) 2001-2021 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="XAxisContainer" 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="XAxisSelectedElement" value="[% Data.Element | html %]" [% Data.Checked %]/>
<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>
<input type="radio" name="[% Data.Element | html %]TimeSelect" value="Absolut" [% Data.CheckedAbsolut | html %]/>
[% Translate("Absolute period") | html %]:
</label>
<div class="Field">
[% Translate("Between %s and %s") | html | ReplacePlaceholders(Data.TimeStart, Data.TimeStop) %]
</div>
<div class="Clear"></div>
<label>
<input type="radio" name="[% Data.Element | html %]TimeSelect" value="Relativ" [% Data.CheckedRelative | html %]/>
[% Translate("Relative period") | html %]:
</label>
<div class="Field">
[% Translate("The past complete %s and the current+upcoming complete %s %s") | html | ReplacePlaceholders(Data.TimeRelativeCount, Data.TimeRelativeUpcomingCount, Data.TimeRelativeUnit) %]
<p class="FieldExplanation">[% Translate("The selected time period defines the default time frame for this statistic to collect data from.") | html %]</p>
</div>
<div class="Clear"></div>
<br/>
<label>[% Translate("Scale") | html %]:</label>
<div class="Field">
[% Data.TimeScaleCount %]
[% 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>
</div>
<div class="Clear"></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>
|