Эх сурвалжийг харах

HUE-2623 [oozie] Add externalId link to the details tab in sub workflow action page

krish 10 жил өмнө
parent
commit
f5e416f

+ 6 - 0
apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow_action.mako

@@ -96,6 +96,12 @@ ${ layout.menubar(section='workflows', dashboard=True) }
               </tr>
             </thead>
             <tbody>
+              % if 'sub-workflow' == action.type and action.get_external_id_url():
+                <tr>
+                  <td>${ _('Workflow') }</td>
+                  <td><a href="${ action.get_external_id_url() }">${ action.externalId }</a></td>
+                </tr>
+              % endif
               <tr>
                 <td>${ _('External Status') }</td>
                 <td><span class="label ${ utils.get_status(action.externalStatus) }">${ action.externalStatus }<span></td>