diff --git a/combo_plugin_subscriptions/models.py b/combo_plugin_subscriptions/models.py index f1987ed..b63ec7d 100644 --- a/combo_plugin_subscriptions/models.py +++ b/combo_plugin_subscriptions/models.py @@ -154,3 +154,7 @@ class SubscriptionsManageCell(CellBase): def __unicode__(self): return u'' % self.passerelle_url + + def is_relevant(self, context): + # the cell is only relevant for connected users + return bool(context.get('user').is_authenticated())