diff --git a/colab/proxy/jenkins/apps.py b/colab/proxy/jenkins/apps.py index e1e0833..52acd2b 100644 --- a/colab/proxy/jenkins/apps.py +++ b/colab/proxy/jenkins/apps.py @@ -1,7 +1,16 @@ +from django.utils.translation import ugettext_lazy as _ + from ..utils.apps import ColabProxiedAppConfig class ProxyJenkinsAppConfig(ColabProxiedAppConfig): name = 'colab.proxy.jenkins' verbose_name = 'Jenkins Proxy' + + menu = { + 'title': _('Code'), + 'links': ( + (_('Continuos Integration'), ''), + ), + } diff --git a/colab/proxy/jenkins/urls.py b/colab/proxy/jenkins/urls.py index 8c499e4..162ec0e 100644 --- a/colab/proxy/jenkins/urls.py +++ b/colab/proxy/jenkins/urls.py @@ -6,5 +6,5 @@ from .views import JenkinsProxyView urlpatterns = patterns('', # Jenkins URLs - url(r'^ci/(?P.*)$', JenkinsProxyView.as_view()), + url(r'^(?P.*)$', JenkinsProxyView.as_view(), name='jenkins'), ) diff --git a/colab/templates/base.html b/colab/templates/base.html index 94f8599..fe1c98f 100644 --- a/colab/templates/base.html +++ b/colab/templates/base.html @@ -96,15 +96,6 @@ {% proxy_menu %} - {% if proxy.trac %} - - {% endif %} -
  • {% trans "Paste" %}