from vpanel2.connector import addUrlNamespace import urls addUrlNamespace('crm/', 'crm', urls.urlpatterns)
from vpanel2.connector import addUrlNamespace, addNavigation import crm_contacts.urls addUrlNamespace('crm_contacts/', 'crm_contacts', crm_contacts.urls.urlpatterns) addNavigation('phone-alt', "Kontakte", dropdown = [ {"url": "crm_contacts:start", "label": "Alle"}, {"url": "crm_contacts:start", "label": "Mitglieder"} ])
from vpanel2.connector import addUrlNamespace, addNavigation import urls addUrlNamespace("accounting/", "accounting", urls.urlpatterns) addNavigation( "euro", "Buchhaltung", dropdown=[ {"url": "accounting:transfer", "label": "Buchen"}, {"url": "accounting:journals", "label": "Kontenrahmen"}, {"url": "accounting:reports", "label": "Reports"}, ], )
from vpanel2.connector import addUrlNamespace, addNavigation import urls addUrlNamespace('accounting/', 'accounting', urls.urlpatterns) addNavigation("euro", "Buchhaltung", dropdown=[{ "url": "accounting:transfer", "label": "Buchen" }, { "url": "accounting:journals", "label": "Kontenrahmen" }, { "url": "accounting:reports", "label": "Reports" }])