瀏覽代碼

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

krish 10 年之前
父節點
當前提交
f5e416f
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow_action.mako

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