{{$repo_url := printf "%s" .Issue.Repo.HTMLURL .Issue.Repo.FullName}} {{$link := printf "#%d" .Link .Issue.Index}}
{{if .IsPull}} {{.i18n.Tr "mail.issue_assigned.pull" .Doer.Name $link $repo_url | Str2html}} {{else}} {{.i18n.Tr "mail.issue_assigned.issue" .Doer.Name $link $repo_url | Str2html}} {{end}}