Skip to content

Commit

Permalink
Merge pull request #948 from hmrc/BDOG-3219
Browse files Browse the repository at this point in the history
BDOG-3219 improve git compare link disaply text - based on number of …
  • Loading branch information
Shnick authored Sep 20, 2024
2 parents a79d99b + 5c4df1d commit f7fd4b9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@
<div class="text-center">
<a href="@compare.htmlUrl" target="_blank" rel="noreferrer noopener" alt="Link to Github compare">
<img alt="github badge" src="@routes.Assets.versioned("githubicon-green.svg")"/>
See more commits
@if(compare.totalCommits > compare.commits.size) {
See more commits
} else {
See on GitHub
}
<span alt="new window badge" class="glyphicon glyphicon-new-window"/>
</a>
</div>
Expand Down

0 comments on commit f7fd4b9

Please sign in to comment.