From 7a7e57fc80e96aa416284a03a8f0b0032f11dcda Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 10 Aug 2022 23:34:08 +0200
Subject: refactor: Rename Users to Organisation and add placeholder page; Open
 Apps in current tab instead of a new one

---
 apps/portal/src/app/pages/home.svelte | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

(limited to 'apps/portal/src/app/pages/home.svelte')

diff --git a/apps/portal/src/app/pages/home.svelte b/apps/portal/src/app/pages/home.svelte
index eaa5947..0e325ee 100644
--- a/apps/portal/src/app/pages/home.svelte
+++ b/apps/portal/src/app/pages/home.svelte
@@ -26,8 +26,7 @@
                 <LinkCard name="Projects"
                           description="The home for your projects"
                           text="Open in a new tab"
-                          target="_blank"
-                          title="Open Projects in a new tab"
+                          title="Open Projects"
                           href="{projects_base()}">
                     <figure slot="icon">
                         <div class="bg-primary bg-opacity-10% padding-xs border-left border-primary border-2">
@@ -41,8 +40,7 @@
                           description="The home for your tickets"
                           class="c-disabled user-select-none"
                           text="Coming soon"
-                          target="_blank"
-                          title="Open Tickets in a new tab"
+                          title="Open Tickets"
                           href="{projects_base()}">
                     <figure slot="icon">
                         <div class="bg-primary bg-opacity-10% padding-xs border-left border-primary border-2">
@@ -56,8 +54,7 @@
                           description="The home for your todos"
                           class="c-disabled user-select-none"
                           text="Coming soon"
-                          target="_blank"
-                          title="Open Todo in a new tab"
+                          title="Open Todo"
                           href="{projects_base()}">
                     <figure slot="icon">
                         <div class="bg-primary bg-opacity-10% padding-xs border-left border-primary border-2">
@@ -86,11 +83,11 @@
                     </figure>
                 </LinkCard>
                 {#if showUsers}
-                    <LinkCard name="Users"
-                              description="Manage your users"
-                              title="Go to your users management page"
+                    <LinkCard name="Organisation"
+                              description="Manage your organisation"
+                              title="Go to your organisations management page"
                               text="Open"
-                              href="{projects_base()}">
+                              on:click={() => push("/admin")}>
                         <figure slot="icon">
                             <div class="bg-primary bg-opacity-10% padding-xs border-left border-primary border-2">
                                 <UsersIcon size="42"
-- 
cgit v1.3

