+ {{template "repo/header" .}} +
+
+

{{svg "octicon-lock" 24}} {{ctx.Locale.Tr "repo.subscribe.title"}}

+

{{ctx.Locale.Tr "repo.subscribe.description"}}

+ + {{if .Products}} +
+ {{range .Products}} +
+
+
{{.Name}}
+
+ {{if eq .Type 1}}{{ctx.Locale.Tr "repo.subscribe.monthly"}} + {{else if eq .Type 2}}{{ctx.Locale.Tr "repo.subscribe.yearly"}} + {{else if eq .Type 3}}{{ctx.Locale.Tr "repo.subscribe.lifetime"}} + {{end}} +
+
+ + ${{DivideInt64 .PriceCents 100}}.{{printf "%02d" (ModInt64 .PriceCents 100)}} + + {{.Currency}} + {{if eq .Type 1}}/ {{ctx.Locale.Tr "repo.subscribe.per_month"}} + {{else if eq .Type 2}}/ {{ctx.Locale.Tr "repo.subscribe.per_year"}} + {{else if eq .Type 3}}{{ctx.Locale.Tr "repo.subscribe.one_time"}} + {{end}} +
+
+
+ +
+
+ {{end}} +
+ + + + {{else}} +
+
+ {{svg "octicon-package" 48}} +
+ {{ctx.Locale.Tr "repo.subscribe.no_products"}} +
+
+
+ {{end}} +
+
+