Пример #1
0
from vpanel2.connector import addUrlNamespace
import urls

addUrlNamespace('crm/', 'crm', urls.urlpatterns)
Пример #2
0
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"} ])
Пример #3
0
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"},
    ],
)
Пример #4
0
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"
              }])