From 11725f31da12202332cd1afbf71026a16d37b122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 11 Mar 2015 15:50:53 +0100 Subject: [PATCH] lingo: register manager page into combo (#6702) --- combo/apps/lingo/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/combo/apps/lingo/__init__.py b/combo/apps/lingo/__init__.py index 03324ef8..3f59d278 100644 --- a/combo/apps/lingo/__init__.py +++ b/combo/apps/lingo/__init__.py @@ -14,6 +14,9 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from django.core.urlresolvers import reverse +from django.utils.translation import ugettext as _ + class Plugin(object): def get_apps(self): return [__name__] @@ -21,3 +24,7 @@ class Plugin(object): def get_before_urls(self): from . import urls return urls.urlpatterns + + def get_extra_manager_actions(self): + return [{'href': reverse('lingo-manager-homepage'), + 'text': _('Online Payment')}]