Skip to content

Commit

Permalink
Issue #3145: Added template translations for object type admin interf…
Browse files Browse the repository at this point in the history
…aces.
  • Loading branch information
stefanhaerter committed Mar 12, 2024
1 parent ead84f8 commit 477f17e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Kernel/Output/HTML/Templates/Standard/AdminQueue.tt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
[% RenderBlockStart("OverviewResultRow") %]
<tr [% IF Data.ValidID != 1 %]class="Invalid"[% END %]>
<td>
<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;QueueID=[% Data.QueueID | uri %]">[% Data.Name | html %]</a>
<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;QueueID=[% Data.QueueID | uri %]">[% Translate(Data.Name) | html %]</a>
</td>
<td>[% Data.GroupName | html %]</td>
<td title="[% Data.Comment | html %]">[% Data.Comment | truncate(26) | html %]</td>
Expand Down
4 changes: 2 additions & 2 deletions Kernel/Output/HTML/Templates/Standard/AdminSLA.tt
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
[% RenderBlockEnd("NoDataFoundMsg") %]
[% RenderBlockStart("OverviewListRow") %]
<tr [% IF Data.ValidID && Data.ValidID != 1 %]class="Invalid"[% END %]>
<td><a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=SLAEdit;SLAID=[% Data.SLAID | uri %]">[% Data.Name | html %]</a></td>
<td>[% Data.Service | html %]</td>
<td><a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=SLAEdit;SLAID=[% Data.SLAID | uri %]">[% Translate(Data.Name) | html %]</a></td>
<td>[% Translate(Data.Service) | html %]</td>
<td title="[% Data.Comment | html %]">[% Data.Comment | truncate(26) | html %]</td>
<td>[% Translate(Data.Valid) | html %]</td>
<td>[% Data.ChangeTime | Localize("TimeShort") %]</td>
Expand Down
2 changes: 1 addition & 1 deletion Kernel/Output/HTML/Templates/Standard/AdminService.tt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
[% RenderBlockEnd("NoDataFoundMsg") %]
[% RenderBlockStart("OverviewListRow") %]
<tr [% IF Data.ValidID != 1%]class="Invalid"[% END %]>
<td title="[% Data.Name | html %]">[% Data.LevelSpace | html %]<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ServiceEdit;ServiceID=[% Data.ServiceID | uri %]">[% Data.Name | truncate(80) | html %]</a></td>
<td title="[% Data.Name | html %]">[% Data.LevelSpace | html %]<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ServiceEdit;ServiceID=[% Data.ServiceID | uri %]">[% Translate(Data.Name) | truncate(80) | html %]</a></td>
<td title="[% Data.Comment | html %]">[% Data.Comment | truncate(20) | html %]</td>
<td>[% Translate(Data.Valid) | html %]</td>
<td>[% Data.ChangeTime | Localize("TimeShort") %]</td>
Expand Down
2 changes: 1 addition & 1 deletion Kernel/Output/HTML/Templates/Standard/AdminType.tt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
[% RenderBlockEnd("NoDataFoundMsg") %]
[% RenderBlockStart("OverviewResultRow") %]
<tr [%IF Data.ValidID != 1%]class="Invalid"[% END %]>
<td><a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;ID=[% Data.ID | uri %]">[% Data.Name | html %]</a></td>
<td><a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;ID=[% Data.ID | uri %]">[% Translate(Data.Name) | html %]</a></td>
<td>[% Translate(Data.Valid) | html %]</td>
<td>[% Data.ChangeTime | Localize("TimeShort") %]</td>
<td>[% Data.CreateTime | Localize("TimeShort") %]</td>
Expand Down

0 comments on commit 477f17e

Please sign in to comment.