aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/commit_status.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/commit_status.tmpl')
-rw-r--r--templates/repo/commit_status.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/commit_status.tmpl b/templates/repo/commit_status.tmpl
index d5f75c132a..f5bbbb02d6 100644
--- a/templates/repo/commit_status.tmpl
+++ b/templates/repo/commit_status.tmpl
@@ -1,15 +1,15 @@
{{if eq .State "pending"}}
- <a href="{{.TargetURL}}" target=_blank><i class="commit-status circle icon yellow"></i></a>
+ <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
{{end}}
{{if eq .State "success"}}
- <a href="{{.TargetURL}}" target=_blank><i class="commit-status check icon green"></i></a>
+ <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
{{end}}
{{if eq .State "error"}}
- <a href="{{.TargetURL}}" target=_blank><i class="commit-status warning icon red"></i></a>
+ <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
{{end}}
{{if eq .State "failure"}}
- <a href="{{.TargetURL}}" target=_blank><i class="commit-status remove icon red"></i></a>
+ <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
{{end}}
{{if eq .State "warning"}}
- <a href="{{.TargetURL}}" target=_blank><i class="commit-status warning sign icon yellow"></i></a>
-{{end}} \ No newline at end of file
+ <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
+{{end}}