diff --git a/company_site/company_site/settings.py b/company_site/company_site/settings.py index 1a50939..92ff30c 100644 --- a/company_site/company_site/settings.py +++ b/company_site/company_site/settings.py @@ -69,6 +69,7 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', + 'public.context_processors.tianji_tracking', ], }, }, @@ -153,3 +154,7 @@ EMAIL_USE_TLS = True # Authentication Redirects LOGIN_REDIRECT_URL = '/' LOGOUT_REDIRECT_URL = '/' + +# Tianji analytics (loaded only after user consent in production) +TIANJI_TRACKER_URL = 'https://tianji.aimloperations.com/tracker.js' +TIANJI_WEBSITE_ID = 'cm7w80pyy020oddswy2evl957' diff --git a/company_site/financial/templates/financial/index.html b/company_site/financial/templates/financial/index.html index 15467f3..a283858 100644 --- a/company_site/financial/templates/financial/index.html +++ b/company_site/financial/templates/financial/index.html @@ -9,23 +9,28 @@
Overview of all active and past contracts and their scopes.
- + New ContractEstablish a new project contract to track budgets.
- + New EmployeeAdd a new personnel member to your organization.
- + Log TimeRecord work hours against specific contracts.
- + Manage Time LogsReview and edit submitted time entries.
diff --git a/company_site/planning/templates/planning/board.html b/company_site/planning/templates/planning/board.html index e3d3bc0..13e2b22 100644 --- a/company_site/planning/templates/planning/board.html +++ b/company_site/planning/templates/planning/board.html @@ -226,7 +226,8 @@