add count of builds hidden under the folded section

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-01-16 13:29:23 +01:00
parent 63d39fcb87
commit 2c8f9deb05
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ const main = `
### Jenkins Builds
{{#if archived.length }}
<details>
<summary>Click to see older builds</summary>
<summary>Click to see older builds ({{ archived.length }})</summary>
{{> buildsTable archived }}
</details>

View File

@ -20,7 +20,7 @@ const COMMENT = `
const COMMENT_FOLDED = `
### Jenkins Builds
<details>
<summary>Click to see older builds</summary>
<summary>Click to see older builds (2)</summary>
| :grey_question: | Commit | :hash: | Finished (UTC) | Duration | Platform | Result |
|-|-|-|-|-|-|-|