Skip to content
Snippets Groups Projects

Add project PR context when available to the status page

Merged Martin Lowe requested to merge (removed):malowe/main/project-context into main
All threads resolved!
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
@@ -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>
Loading