Skip to content

Commit a0fa12e

Browse files
committed
Use target=_blank for all cfbot links
1 parent 6a96e78 commit a0fa12e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

pgcommitfest/commitfest/templates/commitfest.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,13 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
9191
{%if not p.cfbot_results %}
9292
<span class="label label-default">Not processed</span>
9393
{%elif p.cfbot_results.needs_rebase %}
94-
<a href="{{p.cfbot_results.apply_url}}" title="View git apply logs">
94+
<a href="{{p.cfbot_results.apply_url}}" target="_blank" title="View git apply logs">
9595
<span class="label label-warning">Needs rebase!</span>
9696
</a>
9797
{%else%}
98-
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{p.id}}~1...cf/{{p.id}}" title="View last patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
98+
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{p.id}}~1...cf/{{p.id}}" target="_blank" title="View last patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
9999
<a href="https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F{{p.id}}"
100+
target="_blank"
100101
title="View CI history{%if p.cfbot_results.failed_task_names %}. Failed jobs: {{p.cfbot_results.failed_task_names}}{%endif%}">
101102
{%if p.cfbot_results.failed > 0 %}
102103
<img src="/media/commitfest/new_failure.svg"/>

pgcommitfest/commitfest/templates/patch.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818
{%if not cfbot_branch %}
1919
<span class="label label-default">Not processed</span></a>
2020
{%elif not cfbot_branch.commit_id %}
21-
<a href="{{cfbot_branch.apply_url}}">
21+
<a href="{{cfbot_branch.apply_url}}" target="_blank" title="View git apply logs">
2222
<span class="label label-warning" title="View git apply logs">Needs rebase!</span></a>
2323
Additional links previous successfully applied patch (outdated):
24-
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{patch.id}}~1...cf/{{patch.id}}" title="View previous successfully applied patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
25-
<a href="https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F{{patch.id}}">
24+
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{patch.id}}~1...cf/{{patch.id}}" target="_blank" title="View previous successfully applied patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
25+
<a href="https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F{{patch.id}}" target="_blank">
2626
<span class="label label-default">Summary</span></a>
2727
{%else%}
28-
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{patch.id}}~1...cf/{{patch.id}}" title="View last patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
29-
<a href="https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F{{patch.id}}">
28+
<a href="https://github.com/postgresql-cfbot/postgresql/compare/cf/{{patch.id}}~1...cf/{{patch.id}}" target="_blank" title="View last patch set on GitHub"><img class="github-logo" src="/media/commitfest/github-mark.svg"/></a>
29+
<a href="https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F{{patch.id}}" target="_blank">
3030
<span class="label label-default">Summary</span></a>
3131
{%for c in cfbot_tasks %}
3232
{%if c.status == 'COMPLETED'%}
33-
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/new_success.svg"/></a>
33+
<a href="https://cirrusci.com/task/{{c.id}}" target="_blank" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/new_success.svg"/></a>
3434
{%elif c.status == 'CREATED' %}
35-
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/waiting_to_start.svg"/></a>
35+
<a href="https://cirrusci.com/task/{{c.id}}" target="_blank" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/waiting_to_start.svg"/></a>
3636
{%elif c.status == 'EXECUTING' %}
37-
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/running.svg"/></a>
37+
<a href="https://cirrusci.com/task/{{c.id}}" target="_blank" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/running.svg"/></a>
3838
{%else %}
39-
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/new_failure.svg"/></a>
39+
<a href="https://cirrusci.com/task/{{c.id}}" target="_blank" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/new_failure.svg"/></a>
4040
{%endif%}
4141
{%endfor%}
4242
{%endif%}

0 commit comments

Comments
 (0)