Commit 7b82e8f3b5294ba5188fe6464dab3d85cc82b3c7
1 parent
5bc7faa7
Exists in
plugin_extra_configs
Removed old confs for plugins
Showing
3 changed files
with
2 additions
and
34 deletions
Show diff stats
colab/plugins/gitlab/apps.py
| 1 | 1 | ||
| 2 | -from django.utils.translation import ugettext_lazy as _ | ||
| 3 | - | ||
| 4 | from ..utils.apps import ColabProxiedAppConfig | 2 | from ..utils.apps import ColabProxiedAppConfig |
| 5 | 3 | ||
| 6 | 4 | ||
| 7 | class ProxyGitlabAppConfig(ColabProxiedAppConfig): | 5 | class ProxyGitlabAppConfig(ColabProxiedAppConfig): |
| 8 | name = 'colab.plugins.gitlab' | 6 | name = 'colab.plugins.gitlab' |
| 9 | - verbose_name = 'Gitlab Proxy' | ||
| 10 | - | ||
| 11 | - menu = { | ||
| 12 | - 'title': _('Code'), | ||
| 13 | - 'links': ( | ||
| 14 | - (_('Public Projects'), 'public/projects'), | ||
| 15 | - ), | ||
| 16 | - 'auth_links': ( | ||
| 17 | - (_('Profile'), 'profile'), | ||
| 18 | - (_('New Project'), 'projects/new'), | ||
| 19 | - (_('Projects'), 'dashboard/projects'), | ||
| 20 | - (_('Groups'), 'profile/groups'), | ||
| 21 | - (_('Issues'), 'dashboard/issues'), | ||
| 22 | - (_('Merge Requests'), 'dashboard/merge_requests'), | ||
| 23 | - | ||
| 24 | - ), | ||
| 25 | - } | 7 | + verbose_name = 'Gitlab Plugin' |
colab/plugins/mezuro/apps.py
colab/plugins/noosfero/apps.py
| 1 | 1 | ||
| 2 | -from django.utils.translation import ugettext_lazy as _ | ||
| 3 | - | ||
| 4 | from ..utils.apps import ColabProxiedAppConfig | 2 | from ..utils.apps import ColabProxiedAppConfig |
| 5 | 3 | ||
| 6 | 4 | ||
| 7 | class ProxyNoosferoAppConfig(ColabProxiedAppConfig): | 5 | class ProxyNoosferoAppConfig(ColabProxiedAppConfig): |
| 8 | name = 'colab.plugins.noosfero' | 6 | name = 'colab.plugins.noosfero' |
| 9 | verbose_name = 'Noosfero Proxy' | 7 | verbose_name = 'Noosfero Proxy' |
| 10 | - | ||
| 11 | - menu = { | ||
| 12 | - 'title': _('Social'), | ||
| 13 | - 'links': ( | ||
| 14 | - (_('Users'), 'search/people'), | ||
| 15 | - (_('Communities'), 'search/communities'), | ||
| 16 | - ), | ||
| 17 | - 'auth_links': ( | ||
| 18 | - (_('Profile'), 'profile/~/'), | ||
| 19 | - (_('Control panel'), 'myprofile/~/'), | ||
| 20 | - ), | ||
| 21 | - } |