Skip to content
Snippets Groups Projects
Commit 20b9c9ef authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Merge branch 'malowe/main/project-context' into 'main'

Add project PR context when available to the status page

See merge request !146
parents 528b3b6a 3a0ab43b
No related branches found
No related tags found
1 merge request!146Add project PR context when available to the status page
Pipeline #29735 passed
......@@ -24,6 +24,10 @@
.icon-toggle.glyphicon {
top: 3px;
}
a.underline {
text-decoration: underline;
}
</style>|}
<div class="container" id="main-page-content">
......@@ -64,6 +68,11 @@
NO
{/if}
</li>
{#if fullRepoName ne null && pullRequestNumber ne null && statuses.0.provider == ProviderType:GITHUB}
<li>
<strong>Pull request:</strong> <a class="underline" href="https://github.com/{fullRepoName}/pull/{pullRequestNumber}" target="_blank" >#{pullRequestNumber}</a>
</li>
{/if}
</ul>
<a href="{repoUrl}" target="_blank" class="btn btn-primary margin-top-10">Project repository</a>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment