diff --git a/ui/src/components/poker/PokerSettings.svelte b/ui/src/components/poker/PokerSettings.svelte new file mode 100644 index 00000000..0480e7b2 --- /dev/null +++ b/ui/src/components/poker/PokerSettings.svelte @@ -0,0 +1,104 @@ + + +
+ + + + + AutoFinishVoting + PointAverageRounding + HideVoterIdentity + Estimation Scale ID + Join Code + Facilitator Code + + + {#if defaultSettings.id !== ''} + + + {defaultSettings.autoFinishVoting ? 'Yes' : 'No'} + + + {defaultSettings.pointAverageRounding} + + + {defaultSettings.hideVoterIdentity ? 'Yes' : 'No'} + + + {defaultSettings.estimationScaleId} + + + {defaultSettings.joinCode} + + + {defaultSettings.facilitatorCode} + + + {/if} + +
+
+
diff --git a/ui/src/components/retro/RetroSettings.svelte b/ui/src/components/retro/RetroSettings.svelte new file mode 100644 index 00000000..fc9c965c --- /dev/null +++ b/ui/src/components/retro/RetroSettings.svelte @@ -0,0 +1,115 @@ + + +
+ + + + + AllowMultipleVotes + BrainstormVisibility + PhaseTimeLimit + PhaseAutoAdvance + AllowCumulativeVoting + TemplateId + Join Code + Facilitator Code + + + {#if defaultSettings.id !== ''} + + + {defaultSettings.allowMultipleVotes ? 'Yes' : 'No'} + + + {defaultSettings.brainstormVisibility ? 'Yes' : 'No'} + + + {defaultSettings.phaseTimeLimit} + + + {defaultSettings.phaseAutoAdvance ? 'Yes' : 'No'} + + + {defaultSettings.allowCumulativeVoting ? 'Yes' : 'No'} + + + {defaultSettings.templateId} + + + {defaultSettings.joinCode} + + + {defaultSettings.facilitatorCode} + + + {/if} + +
+
+
diff --git a/ui/src/pages/team/Department.svelte b/ui/src/pages/team/Department.svelte index 41f14113..7a37e8be 100644 --- a/ui/src/pages/team/Department.svelte +++ b/ui/src/pages/team/Department.svelte @@ -34,6 +34,9 @@ let organization = { id: organizationId, name: '', + createdDate: '', + updateDate: '', + subscribed: false, }; let department = { id: departmentId, diff --git a/ui/src/pages/team/Organization.svelte b/ui/src/pages/team/Organization.svelte index d98ed074..695af97d 100644 --- a/ui/src/pages/team/Organization.svelte +++ b/ui/src/pages/team/Organization.svelte @@ -39,6 +39,8 @@ } from '../../components/team/metrics'; import FeatureSubscribeBanner from '../../components/global/FeatureSubscribeBanner.svelte'; import RetroTemplatesList from '../../components/retrotemplate/RetroTemplatesList.svelte'; + import PokerSettings from '../../components/poker/PokerSettings.svelte'; + import RetroSettings from '../../components/retro/RetroSettings.svelte'; export let xfetch; export let router; @@ -587,6 +589,23 @@ /> {#if AppConfig.FeaturePoker} +
+ {#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && organization.subscribed)} + + {:else} + + {/if} +
+
{#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && organization.subscribed)} + {#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && organization.subscribed)} + + {:else} + + {/if} +
+
{#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && organization.subscribed)} {$LL.comments()} - + {#each retroActions as item, i} @@ -780,6 +784,23 @@ /> {#if FeaturePoker} +
+ {#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && (team.subscribed || organization.subscribed))} + + {:else} + + {/if} +
+
{#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && (team.subscribed || organization.subscribed))} + {#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && (team.subscribed || organization.subscribed))} + + {:else} + + {/if} +
+
{#if !AppConfig.SubscriptionsEnabled || (AppConfig.SubscriptionsEnabled && (team.subscribed || organization.subscribed))}