From 7b82e8f3b5294ba5188fe6464dab3d85cc82b3c7 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Wed, 5 Aug 2015 08:41:23 -0300 Subject: [PATCH] Removed old confs for plugins --- colab/plugins/gitlab/apps.py | 20 +------------------- colab/plugins/mezuro/apps.py | 2 +- colab/plugins/noosfero/apps.py | 14 -------------- 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/colab/plugins/gitlab/apps.py b/colab/plugins/gitlab/apps.py index 92c7020..bd08b0a 100644 --- a/colab/plugins/gitlab/apps.py +++ b/colab/plugins/gitlab/apps.py @@ -1,25 +1,7 @@ -from django.utils.translation import ugettext_lazy as _ - from ..utils.apps import ColabProxiedAppConfig class ProxyGitlabAppConfig(ColabProxiedAppConfig): name = 'colab.plugins.gitlab' - verbose_name = 'Gitlab Proxy' - - menu = { - 'title': _('Code'), - 'links': ( - (_('Public Projects'), 'public/projects'), - ), - 'auth_links': ( - (_('Profile'), 'profile'), - (_('New Project'), 'projects/new'), - (_('Projects'), 'dashboard/projects'), - (_('Groups'), 'profile/groups'), - (_('Issues'), 'dashboard/issues'), - (_('Merge Requests'), 'dashboard/merge_requests'), - - ), - } + verbose_name = 'Gitlab Plugin' diff --git a/colab/plugins/mezuro/apps.py b/colab/plugins/mezuro/apps.py index 59b3ece..e10008f 100644 --- a/colab/plugins/mezuro/apps.py +++ b/colab/plugins/mezuro/apps.py @@ -1,4 +1,4 @@ -# from django.utils.translation import ugettext_lazy as _ + from ..utils.apps import ColabProxiedAppConfig diff --git a/colab/plugins/noosfero/apps.py b/colab/plugins/noosfero/apps.py index 086393c..de7deff 100644 --- a/colab/plugins/noosfero/apps.py +++ b/colab/plugins/noosfero/apps.py @@ -1,21 +1,7 @@ -from django.utils.translation import ugettext_lazy as _ - from ..utils.apps import ColabProxiedAppConfig class ProxyNoosferoAppConfig(ColabProxiedAppConfig): name = 'colab.plugins.noosfero' verbose_name = 'Noosfero Proxy' - - menu = { - 'title': _('Social'), - 'links': ( - (_('Users'), 'search/people'), - (_('Communities'), 'search/communities'), - ), - 'auth_links': ( - (_('Profile'), 'profile/~/'), - (_('Control panel'), 'myprofile/~/'), - ), - } -- libgit2 0.21.2