зеркало из https://github.com/nextcloud/privacy.git
Fix privacy UI with subscription
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
965e5831be
Коммит
70cfbce9d8
|
@ -37,8 +37,6 @@ class MissionSettings implements ISettings {
|
|||
}
|
||||
|
||||
public function getForm(): TemplateResponse {
|
||||
\OCP\Util::addScript('privacy', 'privacy-main');
|
||||
\OCP\Util::addStyle('privacy', 'privacy');
|
||||
return new TemplateResponse('privacy', 'mission');
|
||||
}
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@ class WhoHasAccessSettings implements ISettings {
|
|||
* @return TemplateResponse
|
||||
*/
|
||||
public function getForm():TemplateResponse {
|
||||
\OCP\Util::addScript('privacy', 'privacy-main');
|
||||
\OCP\Util::addStyle('privacy', 'privacy');
|
||||
$themingDefaults = OC::$server->getThemingDefaults();
|
||||
if ($themingDefaults instanceof ThemingDefaults) {
|
||||
$privacyPolicyUrl = $themingDefaults->getPrivacyUrl();
|
||||
|
|
Загрузка…
Ссылка в новой задаче