feat(dasboard): Added section headers to main nav
This commit is contained in:
		| @@ -41,6 +41,9 @@ | ||||
|         </svg> | ||||
|         <span>{$_("dashboard-title")}</span> | ||||
|       </a> | ||||
|       <h2 class="px-4 py-2 text-xs font-semibold text-gray-600 uppercase"> | ||||
|         {$_("quick-tools")} | ||||
|       </h2> | ||||
|       {#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET") && store.state.jwtinfo.userdetails.permissions.includes("CARD:GET")} | ||||
|         <a | ||||
|           class:activenav={$router.path.includes("/cardassignment/")} | ||||
| @@ -60,7 +63,7 @@ | ||||
|             /> | ||||
|           </svg> | ||||
|  | ||||
| 					<span>{$_('card_assignment_menu')}</span> | ||||
|           <span>{$_("card_assignment_menu")}</span> | ||||
|         </a> | ||||
|         <a | ||||
|           class:activenav={$router.path.includes("/cardreplacement/")} | ||||
| @@ -80,8 +83,11 @@ | ||||
|             /> | ||||
|           </svg> | ||||
|  | ||||
| 					<span>{$_('card-replacement-menu')}</span> | ||||
|           <span>{$_("card-replacement-menu")}</span> | ||||
|         </a> | ||||
|         <h2 class="px-4 py-2 text-xs font-semibold text-gray-600 uppercase"> | ||||
|           {$_("management")} | ||||
|         </h2> | ||||
|         <a | ||||
|           class:activenav={$router.path.includes("/runners/")} | ||||
|           class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-200 hover:text-gray-900 w-full font-semibold" | ||||
| @@ -359,6 +365,9 @@ | ||||
|           <span>{$_("user-groups")}</span> | ||||
|         </a> | ||||
|       {/if} | ||||
| 	  <h2 class="px-4 py-2 text-xs font-semibold text-gray-600 uppercase"> | ||||
| 		  {$_("system")} | ||||
|         </h2> | ||||
|       <a | ||||
|         class:activenav={$router.path === "/settings/"} | ||||
|         class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-200 hover:text-gray-900 w-full font-semibold" | ||||
|   | ||||
| @@ -530,5 +530,8 @@ | ||||
|   "you-have-to-provide-an-organization": "Du musst eine Organisation angeben", | ||||
|   "you-have-to-save-your-changes-to-generate-a-link": "Du musst deine Änderungen speichern, um einen Link zu generieren.", | ||||
|   "you-must-create-at-least-one-card-or-cancel": "Du musst mindestens eine Blankokarte erstellen.", | ||||
|     "zip-postal-code": "Postleitzahl" | ||||
|   "zip-postal-code": "Postleitzahl", | ||||
|   "quick-tools": "Werkzeuge", | ||||
|   "management": "Verwaltung", | ||||
|   "system": "System" | ||||
| } | ||||
| @@ -530,5 +530,7 @@ | ||||
|   "you-have-to-provide-an-organization": "You have to provide an organization", | ||||
|   "you-have-to-save-your-changes-to-generate-a-link": "You have to save your changes to generate a link.", | ||||
|   "you-must-create-at-least-one-card-or-cancel": "You must create at least one card.", | ||||
|   "zip-postal-code": "ZIP/ postal code" | ||||
|   "zip-postal-code": "ZIP/ postal code", | ||||
|   "quick-tools": "Tools", | ||||
|   "system": "System" | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user