# -- # 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. # -- [% SET global.ClassicPreferenceCounter = 0 %] [% RenderBlockStart("Body") %]

[% Translate("Edit your preferences") | html %]

[% BreadcrumbPath = [ { Name => Translate('Personal Preferences'), Link => Env("Action") _ Data.EditingAnotherAgent, }, { Name => Translate(Data.GroupName), Link => Env("Action") _ ";Subaction=Group;Group=" _ Data.GroupKey _ Data.EditingAnotherAgent, }, ] %] [% FOREACH Item IN Data.Path %] [% BreadcrumbPath.push({ Name => Item.Name, Link => 'AgentPreferences;Subaction=Group;Group=Advanced;RootNavigation=' _ Item.Value }) %] [% END %] [% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath Type = 'Agent' %]

[% Translate("Preferences") | html %]

[% IF Data.EditingAnotherAgent %]

[% Translate("Please note: you're currently editing the preferences of %s.", Data.CurrentUserFullname) | html %]

[% ELSE %]

[% Translate("Set up your personal preferences. Save each setting by clicking the checkmark on the right.") | html %]

[% IF Data.Navigation %]

[% Translate("You can use the navigation tree below to only show settings from certain groups.") | html %]

[% END %] [% END %]
[% IF Data.Navigation %] [% INCLUDE "SystemConfiguration/Sidebar/Navigation.tt" %] [% END %]

[% Translate("Dynamic Actions") | html %]

[% IF !global.ClassicPreferenceCounter && !Data.SettingList.size() %]
[% IF !Data.RootNavigation %]
  • [% Translate("Navigate through the available settings by using the tree in the navigation box on the left side.") | html %]

[% ELSE %]

[% Translate("This group doesn't contain any settings. Please try navigating to one of its sub groups.") | html %]

[% END %]
[% END %]
[% RenderBlockEnd("Body") %]