{{ template "hamburger" }}
{{ template "page_progress" }}
{{ block "op_form" . }}
{{ template "page_title" "OpenRun Apps" }}
{{ if eq .Data.Mode "create" }} New app {{ else }} Update {{ .Data.Values.path }} {{ end }}
{{ if eq .Data.Step "approve" }} Approve the permissions the app requests {{ else if eq .Data.Mode "create" }} Deploy an app from a git repo or a local directory {{ else }} Changes apply to staging and are promoted to prod {{ end }}
{{ template "error_alert" .Data.Error }}
{{ if eq .Data.Step "approve" }}
{{ if not .Data.Error }}
{{ else }}
{{ template "validation_alert" (dict
"Validated" .Data.Validated
"Value" .Data.Values.path
"Suffix" "is ready to be created"
"BreakAll" true) }}
{{ if .Data.Validated }}
{{ template "perms_card" (dict "Review" .Data.Review "Note" "These permissions will need approval when the app is created") }}
{{ end }}
{{ if eq .Data.Mode "update" }}
{{ end }}
{{ end }}
{{ end }}
{{ .Data.Values.path }} was
created - it needs the permissions below approved before it
can serve requests
{{ end }}
{{ template "perms_card" (dict "Review" .Data.Review "Note" "Approving grants the plugin and permission usage listed above") }}
{{ else if and (eq .Data.Mode "update") (not .Data.App) }}
The app could not be loaded
Back to appsSource
{{ .Data.App.source_url }}
Version
v{{ .Data.App.version }}
Spec
{{ if .Data.App.spec }}{{ .Data.App.spec }}{{ else }}-{{ end }}
Branch
{{ if .Data.App.git_branch }}
{{ .Data.App.git_branch }}
{{ else }}
-
{{ end }}