init III
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# --
|
||||
# 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.
|
||||
# --
|
||||
|
||||
[% IF Data.FormDraftTitle %]
|
||||
<div class="MessageBox Info">
|
||||
<p>
|
||||
[% IF Data.FormDraftMeta.ChangeTime == Data.FormDraftMeta.CreateTime %]
|
||||
[% Translate("You have loaded the draft \"%s\".", Data.FormDraftTitle) | html %]
|
||||
[% ELSE %]
|
||||
[% IF Data.FormDraftMeta.ChangeBy == Env('UserID') %]
|
||||
[% Translate("You have loaded the draft \"%s\". You last changed it %s.", Data.FormDraftTitle, Localize(Data.FormDraftMeta.ChangeTime, 'TimeShort') ) | html %]
|
||||
[% ELSE %]
|
||||
[% Translate("You have loaded the draft \"%s\". It was last changed %s by %s.", Data.FormDraftTitle, Localize(Data.FormDraftMeta.ChangeTime, 'TimeShort'), Data.FormDraftMeta.ChangeByName ) | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</p>
|
||||
</div>
|
||||
[% END %]
|
||||
[% IF Data.FormDraftOutdated %]
|
||||
<div class="MessageBox Warning">
|
||||
<p>
|
||||
[% Translate("Please note that this draft is outdated because the ticket was modified since this draft was created.") | html %]
|
||||
</p>
|
||||
</div>
|
||||
[% END %]
|
||||
Reference in New Issue
Block a user