Skip to content
Snippets Groups Projects
Commit 3a0ab43b authored by Martin Lowe's avatar Martin Lowe :palm_tree:
Browse files

Add project PR context when available to the status page

parent 528b3b6a
No related branches found
No related tags found
1 merge request!146Add project PR context when available to the status page
......@@ -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