* [ADD] New preferences option to always display the account search filters

* [MOD] Updated translations
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-11-03 13:41:46 +01:00
parent cab766c78f
commit c4ba84e206
17 changed files with 474 additions and 384 deletions

View File

@@ -75,6 +75,10 @@ class UserPreferencesData
* @var bool
*/
public $checkNotifications = true;
/**
* @var bool
*/
public $showAccountSearchFilters = false;
/**
* @return string
@@ -258,4 +262,20 @@ class UserPreferencesData
{
$this->checkNotifications = $checkNotifications;
}
/**
* @return bool
*/
public function isShowAccountSearchFilters(): bool
{
return $this->showAccountSearchFilters;
}
/**
* @param bool $showAccountSearchFilters
*/
public function setShowAccountSearchFilters(bool $showAccountSearchFilters)
{
$this->showAccountSearchFilters = $showAccountSearchFilters;
}
}