diff --git a/client/Pages/EventTypeCreate/View.elm b/client/Pages/EventTypeCreate/View.elm index fff6b52..2e9f3f1 100644 --- a/client/Pages/EventTypeCreate/View.elm +++ b/client/Pages/EventTypeCreate/View.elm @@ -435,7 +435,7 @@ viewForm model setup = compatibilityModeOptions , schemaEditor formModel , hr [ class "dc-divider" ] [] - , accessEditor appsInfoUrl usersInfoUrl formModel + , accessEditor appsInfoUrl usersInfoUrl teamsInfoUrl formModel ] , hr [ class "dc-divider" ] [] @@ -447,8 +447,8 @@ viewForm model setup = ] -accessEditor : String -> String -> Model -> Html Msg -accessEditor appsInfoUrl usersInfoUrl formModel = +accessEditor : String -> String -> String -> Model -> Html Msg +accessEditor appsInfoUrl usersInfoUrl teamsInfoUrl formModel = AccessEditor.view { appsInfoUrl = appsInfoUrl , usersInfoUrl = usersInfoUrl diff --git a/client/Pages/EventTypeDetails/View.elm b/client/Pages/EventTypeDetails/View.elm index 6825988..c445bd4 100644 --- a/client/Pages/EventTypeDetails/View.elm +++ b/client/Pages/EventTypeDetails/View.elm @@ -260,6 +260,7 @@ detailsLayout typeName eventType model = , authTab appsInfoUrl usersInfoUrl + teamsInfoUrl eventType ) ] @@ -755,8 +756,8 @@ renderSqlQueries query = ] -authTab : String -> String -> EventType -> Html Msg -authTab appsInfoUrl usersInfoUrl eventType = +authTab : String -> String -> String -> EventType -> Html Msg +authTab appsInfoUrl usersInfoUrl teamsInfoUrl eventType = case eventType.authorization of Nothing -> div [ class "dc-card auth-tab" ] diff --git a/client/Pages/SubscriptionCreate/View.elm b/client/Pages/SubscriptionCreate/View.elm index 2217532..7c9f04e 100644 --- a/client/Pages/SubscriptionCreate/View.elm +++ b/client/Pages/SubscriptionCreate/View.elm @@ -205,7 +205,7 @@ viewForm model setup = else none , eventTypesEditor updateMode model - , accessEditor appsInfoUrl usersInfoUrl formModel + , accessEditor appsInfoUrl usersInfoUrl teamsInfoUrl formModel , hr [ class "dc-divider" ] [] , div [ class "dc-toast__content dc-toast__content--success" ] [ text successMessage ] @@ -215,8 +215,8 @@ viewForm model setup = ] -accessEditor : String -> String -> Model -> Html Msg -accessEditor appsInfoUrl usersInfoUrl formModel = +accessEditor : String -> String -> String -> Model -> Html Msg +accessEditor appsInfoUrl usersInfoUrl teamsInfoUrl formModel = AccessEditor.view { appsInfoUrl = appsInfoUrl , usersInfoUrl = usersInfoUrl diff --git a/client/Pages/SubscriptionDetails/View.elm b/client/Pages/SubscriptionDetails/View.elm index e980c8c..7b8bdca 100644 --- a/client/Pages/SubscriptionDetails/View.elm +++ b/client/Pages/SubscriptionDetails/View.elm @@ -170,6 +170,7 @@ detailsLayout id subscription model = , authTab appsInfoUrl usersInfoUrl + teamsInfoUrl subscription ) ] @@ -462,8 +463,8 @@ deletePopup model subscription appsInfoUrl = none -authTab : String -> String -> Subscription -> Html Msg -authTab appsInfoUrl usersInfoUrl subscription = +authTab : String -> String -> String -> Subscription -> Html Msg +authTab appsInfoUrl usersInfoUrl teamsInfoUrl subscription = div [ class "dc-card auth-tab" ] <| case subscription.authorization of Nothing -> diff --git a/client/User/Commands.elm b/client/User/Commands.elm index f963aaa..9156dc6 100644 --- a/client/User/Commands.elm +++ b/client/User/Commands.elm @@ -30,6 +30,7 @@ settingsDecoder = |> required "nakadiApiUrl" string |> optional "appsInfoUrl" string emptyString |> optional "usersInfoUrl" string emptyString + |> optional "teamsInfoUrl" string emptyString |> optional "monitoringUrl" string emptyString |> optional "sloMonitoringUrl" string emptyString |> optional "eventTypeMonitoringUrl" string emptyString