pvillard31 commented on code in PR #8649:
URL: https://github.com/apache/nifi/pull/8649#discussion_r1567434159


##########
nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/explorer/grid-list/registry/nf-registry-grid-list-viewer.html:
##########
@@ -121,6 +121,38 @@
                                     </td-step>
                                 </td-steps>
                             </div>
+                            <div *ngIf="droplet.bundleType" 
id="nifi-registry-explorer-grid-list-viewer-droplet-container-details-change-log">
+                                <td-steps mode="vertical">
+                                    <td-step label="Version 
{{snapshotMeta.version}} 
({{nfRegistryService.getHumanReadableSize(snapshotMeta.contentSize)}}) - 
{{snapshotMeta.timestamp | amTimeAgo}}" sublabel="by {{snapshotMeta.author}}"
+                                             *ngFor="let snapshotMeta of 
droplet.snapshotMetadata; let i = index"
+                                             [active]="i === 0 ? true : false">
+                                        <div fxLayout="column" 
fxLayoutAlign="space-between stretch">
+                                            <div fxLayout="row" 
class="mat-body-3">
+                                                <p>
+                                                Build Information<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>NiFi API version</b>: 
{{snapshotMeta.systemApiVersion}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Build branch</b>: 
{{snapshotMeta.buildInfo.buildBranch}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Build flags</b>: 
{{snapshotMeta.buildInfo.buildFlags}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Build revision</b>: 
{{snapshotMeta.buildInfo.buildRevision}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Build tag</b>: 
{{snapshotMeta.buildInfo.buildTag}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Build tool</b>: 
{{snapshotMeta.buildInfo.buildTool}}<br />
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Built by</b>: {{snapshotMeta.buildInfo.builtBy}}<br 
/>
+                                                
&nbsp;&nbsp;&nbsp;&nbsp;<b>Built on</b>: {{(snapshotMeta.buildInfo.built/1000 | 
amFromUnix) | amDateFormat:'MMM-DD-YYYY'}} at 
{{(snapshotMeta.buildInfo.built/1000 | amFromUnix) | amDateFormat:'h:mm A'}}

Review Comment:
   It's also used for the date at which the version has been added in the NiFi 
Registry, but agree that using the other format is better



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to