Jelajahi Sumber

HUE-1018 [oozie] Add tooltip to workflow Suspend button

Added tooltip
Enrico Berti 13 tahun lalu
induk
melakukan
1f2c56e

+ 2 - 2
apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow.mako

@@ -102,14 +102,14 @@ ${ layout.menubar(section='dashboard') }
                    data-confirmation-message="${ _('Are you sure you\'d like to kill this job?') }">
                    data-confirmation-message="${ _('Are you sure you\'d like to kill this job?') }">
                 ${_('Kill')}
                 ${_('Kill')}
                 </button>
                 </button>
-                <button title="${ _('Suspend the workflow') }" id="suspend-btn"
+                <button title="${ _('Suspend the workflow after finishing the current running actions') }" id="suspend-btn"
                    data-url="${ url('oozie:manage_oozie_jobs', job_id=oozie_workflow.id, action='suspend') }"
                    data-url="${ url('oozie:manage_oozie_jobs', job_id=oozie_workflow.id, action='suspend') }"
                    data-confirmation-message="${ _('Are you sure you\'d like to suspend this job?') }"
                    data-confirmation-message="${ _('Are you sure you\'d like to suspend this job?') }"
                    class="btn btn-small confirmationModal
                    class="btn btn-small confirmationModal
                    % if not oozie_workflow.is_running():
                    % if not oozie_workflow.is_running():
                      hide
                      hide
                    % endif
                    % endif
-                   ">
+                   " rel="tooltip" data-placement="right">
                   ${ _('Suspend') }
                   ${ _('Suspend') }
                 </button>
                 </button>
                 <button title="${ _('Resume the workflow') }" id="resume-btn"
                 <button title="${ _('Resume the workflow') }" id="resume-btn"