You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"💡 #{names(claims)} submitted [#{Claim.type_label(primary_claim.type)}](#{primary_claim.url}) that claims the bounty. You can visit [Algora](#{Claim.reward_url(primary_claim)}) to reward."
47
+
"💡 #{names} submitted [#{Claim.type_label(primary_claim.type)}](#{primary_claim.url}) that claims the bounty. You can visit [Algora](#{Claim.reward_url(primary_claim)}) to reward."
43
48
)
44
49
end
45
50
@@ -58,20 +63,4 @@ defmodule Algora.Bounties.Jobs.NotifyClaim do
58
63
{:ok,nil}
59
64
end
60
65
end
61
-
62
-
defpnames([claim])do
63
-
"@#{claim.user.provider_login}"
64
-
end
65
-
66
-
defpnames([c1,c2])do
67
-
"@#{c1.user.provider_login} and @#{c2.user.provider_login}"
68
-
end
69
-
70
-
defpnames([c1,c2,c3])do
71
-
"@#{c1.user.provider_login}, @#{c2.user.provider_login} and @#{c3.user.provider_login}"
72
-
end
73
-
74
-
defpnames([c1,c2|claims])do
75
-
"@#{c1.user.provider_login}, @#{c2.user.provider_login} and #{length(claims)} others"
0 commit comments