Source code for shuup.gdpr.dashboard_items

# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from django.utils.translation import ugettext_lazy as _

from shuup.front.utils.dashboard import DashboardItem


[docs]class GDPRDashboardItem(DashboardItem): template_name = None title = _("My Data") icon = "fa fa-shield" _url = "shuup:gdpr_customer_dashboard" description = _("Customer data")
[docs] def show_on_dashboard(self): return False