From a6e6c948a5c8f36b1e3db24fcad6274dc05f5507 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 17 Jul 2024 17:22:42 +0930 Subject: [PATCH] feat(itim): Add menu entry !43 #69 #71 --- app/app/settings.py | 1 + app/app/urls.py | 2 +- app/templates/icons/itim.svg | 1 + app/templates/navigation.html.j2 | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 app/templates/icons/itim.svg diff --git a/app/app/settings.py b/app/app/settings.py index b2c9b17ee..3964a5ea5 100644 --- a/app/app/settings.py +++ b/app/app/settings.py @@ -113,6 +113,7 @@ 'core.apps.CoreConfig', 'access.apps.AccessConfig', 'itam.apps.ItamConfig', + 'itim.apps.ItimConfig', 'settings.apps.SettingsConfig', 'drf_spectacular', 'drf_spectacular_sidecar', diff --git a/app/app/urls.py b/app/app/urls.py index aabd32b2d..31f2a86c3 100644 --- a/app/app/urls.py +++ b/app/app/urls.py @@ -43,6 +43,7 @@ path("organization/", include("access.urls")), path("itam/", include("itam.urls")), + path("itim/", include("itim.urls")), path("config_management/", include("config_management.urls")), path("history//", history.View.as_view(), name='_history'), @@ -73,7 +74,6 @@ path("__debug__/", include("debug_toolbar.urls"), name='_debug'), # Apps Under Development - path("itim/", include("itim.urls")), path("information/", include("information.urls")), path("project_management/", include("project_management.urls")), ] diff --git a/app/templates/icons/itim.svg b/app/templates/icons/itim.svg new file mode 100644 index 000000000..a0d56045b --- /dev/null +++ b/app/templates/icons/itim.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/templates/navigation.html.j2 b/app/templates/navigation.html.j2 index fe011e37f..15b81710f 100644 --- a/app/templates/navigation.html.j2 +++ b/app/templates/navigation.html.j2 @@ -30,6 +30,8 @@ span.navigation_icon { {% include 'icons/ansible.svg' %} {% elif group.name == 'ITAM' %} {% include 'icons/itam.svg' %} + {% elif group.name == 'ITIM' %} + {% include 'icons/itim.svg' %} {% elif group.name == 'Settings' %} {% include 'icons/settings.svg' %} {% endif %}