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

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

Add project PR context when available to the status page

See merge request eclipsefdn/it/api/git-eca-rest-api!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 @@ ...@@ -24,6 +24,10 @@
.icon-toggle.glyphicon { .icon-toggle.glyphicon {
top: 3px; top: 3px;
} }
a.underline {
text-decoration: underline;
}
</style>|} </style>|}
<div class="container" id="main-page-content"> <div class="container" id="main-page-content">
...@@ -64,6 +68,11 @@ ...@@ -64,6 +68,11 @@
NO NO
{/if} {/if}
</li> </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> </ul>
<a href="{repoUrl}" target="_blank" class="btn btn-primary margin-top-10">Project repository</a> <a href="{repoUrl}" target="_blank" class="btn btn-primary margin-top-10">Project repository</a>
</div> </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