zhli1142015 commented on a change in pull request #28867:
URL: https://github.com/apache/spark/pull/28867#discussion_r443136775



##########
File path: 
core/src/main/resources/org/apache/spark/ui/static/historypage-template.html
##########
@@ -77,12 +77,12 @@
   <tbody>
   {{#applications}}
     <tr>
+      {{#attempts}}
       <td 
{{#hasMultipleAttempts}}style="background-color:#fff"{{/hasMultipleAttempts}}>{{version}}</td>
-      <td 
{{#hasMultipleAttempts}}style="background-color:#fff"{{/hasMultipleAttempts}}><span
 title="{{id}}"><a 
href="{{uiroot}}/history/{{id}}/{{num}}/jobs/">{{id}}</a></span></td>
+      <td 
{{#hasMultipleAttempts}}style="background-color:#fff"{{/hasMultipleAttempts}}><span
 title="{{id}}"><a 
href="{{uiroot}}/history/{{id}}{{#hasAttemptId}}/{{attemptId}}{{/hasAttemptId}}/jobs/">{{id}}</a></span></td>

Review comment:
       `{{#...}}` means section begins, `{{/...}}` means section ends. for 
example mustache tags `{{#hasAttemptId}}/{{attemptId}}{{/hasAttemptId}}`, if 
`hasAttemptId` is `true`, `/{{attemptId}}` will be rendered.




----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to