Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
teamsInfoUrl in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Abraham committed Dec 9, 2021
1 parent bfe0e12 commit 0b134f8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions client/Pages/EventTypeCreate/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
[]
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions client/Pages/EventTypeDetails/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ detailsLayout typeName eventType model =
, authTab
appsInfoUrl
usersInfoUrl
teamsInfoUrl
eventType
)
]
Expand Down Expand Up @@ -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" ]
Expand Down
6 changes: 3 additions & 3 deletions client/Pages/SubscriptionCreate/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions client/Pages/SubscriptionDetails/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ detailsLayout id subscription model =
, authTab
appsInfoUrl
usersInfoUrl
teamsInfoUrl
subscription
)
]
Expand Down Expand Up @@ -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 ->
Expand Down
1 change: 1 addition & 0 deletions client/User/Commands.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b134f8

Please sign in to comment.