@@ -22,25 +22,25 @@ defmodule FrontWeb.DeploymentsView do
22
22
def deployment_state ( % Deployment { state: :PENDING } ) , do: :RUNNING
23
23
24
24
defp pipeline_state ( :DONE , :PASSED ) , do: :PASSED
25
- defp pipeline_state ( :DONE , :STOPPED ) , do: :CANCELLED
26
- defp pipeline_state ( :DONE , :CANCELLED ) , do: :CANCELLED
25
+ defp pipeline_state ( :DONE , :STOPPED ) , do: :CANCELED
26
+ defp pipeline_state ( :DONE , :CANCELED ) , do: :CANCELED
27
27
defp pipeline_state ( :DONE , :FAILED ) , do: :FAILED
28
28
defp pipeline_state ( _state , _result ) , do: :RUNNING
29
29
30
30
def details_color ( :RUNNING ) , do: "blue"
31
31
def details_color ( :PASSED ) , do: "green"
32
32
def details_color ( :FAILED ) , do: "red"
33
- def details_color ( :CANCELLED ) , do: "gray"
33
+ def details_color ( :CANCELED ) , do: "gray"
34
34
35
35
def details_title ( :RUNNING ) , do: "Deployment in progress"
36
36
def details_title ( :PASSED ) , do: "Last deployment"
37
37
def details_title ( :FAILED ) , do: "Last deployment"
38
- def details_title ( :CANCELLED ) , do: "Last deployment"
38
+ def details_title ( :CANCELED ) , do: "Last deployment"
39
39
40
40
def details_circle ( :RUNNING ) , do: "circle"
41
41
def details_circle ( :PASSED ) , do: "check_circle"
42
42
def details_circle ( :FAILED ) , do: "cancel"
43
- def details_circle ( :CANCELLED ) , do: "do_not_disturb_on"
43
+ def details_circle ( :CANCELED ) , do: "do_not_disturb_on"
44
44
45
45
def git_ref_icon ( % RepoProxy { type: type } ) ,
46
46
do: git_ref_icon ( type )
0 commit comments