@@ -46,20 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4646 <!-- control bar elements displayed only when there is a current workflow in the store -->
4747 <template v-if =" currentWorkflow " >
4848 <div class =" c-workflow-controls d-flex align-center flex-shrink-0" >
49- <v-tooltip v-if =" isRunning" >
50- <template v-slot :activator =" { props } " >
51- <v-icon :icon =" $options.icons.info" v-bind =" props" />
52- </template >
53- <dl >
54- <dt >Owner:</dt >
55- <dd >{{ currentWorkflow.node.owner }}</dd >
56- <dt >Host:</dt >
57- <dd >{{ currentWorkflow.node.host }}</dd >
58- <dt >Cylc version:</dt >
59- <dd >{{ currentWorkflow.node.cylcVersion}}</dd >
60- </dl >
61- </v-tooltip >
62-
6349 <WarningIcon
6450 :workflow =" currentWorkflow"
6551 style =" font-size : 120% ; padding-left : 0.3em ; padding-right : 0.3em ;"
@@ -150,9 +136,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
150136 </v-menu >
151137 </v-btn >
152138
139+ <!-- workflow info icon -->
140+ <v-tooltip v-if =" isRunning" :activator =" $event => $event.target.closest('span')" >
141+ <template v-slot :activator =" { props } " >
142+ <span v-bind =" props" >
143+ <v-icon :icon =" $options.icons.info" />
144+ </span >
145+ </template >
146+ <dl >
147+ <dt ><strong >Owner:</strong > {{ currentWorkflow.node.owner }}</dt >
148+ <dt ><strong >Host:</strong > {{ currentWorkflow.node.host }}</dt >
149+ <dt ><strong >Cylc version:</strong > {{ currentWorkflow.node.cylcVersion }}</dt >
150+ </dl >
151+ </v-tooltip >
152+
153153 <!-- workflow status message -->
154154 <span class =" status-msg text-body-2" >
155- {{ statusAndVersion }}
155+ {{ statusMessage }}
156156 </span >
157157
158158 <v-spacer class =" mx-0" />
@@ -390,12 +390,8 @@ export default {
390390 this .currentWorkflow .node .status === WorkflowState .STOPPED .name
391391 )
392392 },
393- statusAndVersion () {
394- let ret = upperFirst (this .currentWorkflow .node .statusMsg || ' ' )
395- if (this .currentWorkflow .node .cylcVersion ) {
396- ret += ` • Cylc ${ this .currentWorkflow .node .cylcVersion } `
397- }
398- return ret
393+ statusMessage () {
394+ return upperFirst (this .currentWorkflow .node .statusMsg || ' ' )
399395 },
400396 enabled () {
401397 // object holding the states of controls that are supposed to be enabled
0 commit comments