Commit 48a720797e4b80aba638618ac70b625f9ae1d770
Exists in
master
and in
32 other branches
Merge branch 'mezuro-integration'
Showing
11 changed files
with
48 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,18 @@ | @@ -0,0 +1,18 @@ | ||
| 1 | +<rules | ||
| 2 | + xmlns="http://namespaces.plone.org/diazo" | ||
| 3 | + xmlns:css="http://namespaces.plone.org/diazo/css" | ||
| 4 | + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
| 5 | + | ||
| 6 | + <before theme-children="/html/head" content-children="/html/head" /> | ||
| 7 | + <before css:theme-children="#main-content" css:content-children="body" /> | ||
| 8 | + | ||
| 9 | + <merge attributes="class" css:theme="body" css:content="body" /> | ||
| 10 | + | ||
| 11 | + <!-- Add mezuro properties --> | ||
| 12 | + <merge attributes="data-page" css:theme="body" css:content="body" /> | ||
| 13 | + <merge attributes="data-project-id" css:theme="body" css:content="body" /> | ||
| 14 | + | ||
| 15 | + <drop css:content=".navbar" /> <!-- Mezuro's navbar links are part of Colab's menu --> | ||
| 16 | + <drop css:theme="script[src$='bootstrap.min.js']" /> <!-- Fixes top menu dropdown by removing Colab's bootstrap JS --> | ||
| 17 | + <drop css:theme="script[src*='jquery']:not([src*='cookie']):not([src*='debouncedresize'])" /> <!-- Fixes accordion conflict by removing Colab's JQuery. But keeps the JS for cookie and debouncedresize --> | ||
| 18 | +</rules> |
| @@ -0,0 +1 @@ | @@ -0,0 +1 @@ | ||
| 1 | +{% extends 'base.html' %} |
colab/urls.py
| @@ -37,6 +37,7 @@ urlpatterns = patterns('', | @@ -37,6 +37,7 @@ urlpatterns = patterns('', | ||
| 37 | 37 | ||
| 38 | url(r'^trac/', include('colab.plugins.trac.urls')), | 38 | url(r'^trac/', include('colab.plugins.trac.urls')), |
| 39 | url(r'^gitlab/', include('colab.plugins.gitlab.urls')), | 39 | url(r'^gitlab/', include('colab.plugins.gitlab.urls')), |
| 40 | + url(r'^mezuro/', include('colab.plugins.mezuro.urls')), | ||
| 40 | url(r'^social/', include('colab.plugins.noosfero.urls')), | 41 | url(r'^social/', include('colab.plugins.noosfero.urls')), |
| 41 | url(r'^ci/', include('colab.plugins.jenkins.urls')), | 42 | url(r'^ci/', include('colab.plugins.jenkins.urls')), |
| 42 | 43 |