show promotion info in ui

This commit is contained in:
Mike McLean 2024-01-04 16:15:39 -05:00 committed by Yu Ming Zhu
parent 023f68d0c3
commit ce32f58b9a
2 changed files with 12 additions and 1 deletions

View file

@ -26,7 +26,7 @@
</tr>
#if $build.draft
<th>Draft</th><td>True</td>
#else
#else
<th>Draft</th><td>False</td>
#end if
#if $build.get('source')
@ -97,6 +97,14 @@
<th>Completed</th><td>$util.formatTimeLong($build.completion_ts)</td>
</tr>
#end if
#if $build.promotion_ts
<tr>
<th>Promoted</th><td>$util.formatTimeLong($build.promotion_ts)</td>
</tr>
<tr>
<th>Promoted by</th><td class="user-$build.promoter_name"><a href="userinfo?userID=$build.promoter_id">$util.escapeHTML($build.promoter_name)</a></td>
</tr>
#end if
#if $build.cg_id
<tr>
<th>Content generator</th><td>$util.escapeHTML($build.cg_name)</td>