Skip to content

Commit

Permalink
Change conditional text
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Jul 9, 2024
1 parent 3a9900e commit 2863247
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions client/src/components/Tool/ToolSuccessMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
<p>
Started tool <b>{{ toolName }}</b> and successfully added {{ nJobsText }} to the queue.
</p>
<p>It produces {{ nOutputsText }}:</p>
<ul>
<li v-for="item of jobResponse.outputs" :key="item.hid">
<b>{{ item.hid }}: {{ item.name }}</b>
</li>
</ul>
<p>
You can check the status of queued jobs and view the resulting data by refreshing the History panel. When
the job has been run the status will change from 'running' to 'finished' if completed successfully or
'error' if problems were encountered.
<p v-if="nOutputs === 0">
Your job has no outputs. If you launched an Interactive Tool, the blue box above should update to provide a clickable link.
</p>
<template v-else>
<p>It produces {{ nOutputsText }}:</p>
<ul>
<li v-for="item of jobResponse.outputs" :key="item.hid">
<b>{{ item.hid }}: {{ item.name }}</b>
</li>
</ul>
<p>
You can check the status of queued jobs and view the resulting data by refreshing the History panel. When
the job has been run the status will change from 'running' to 'finished' if completed successfully or
'error' if problems were encountered.
</p>
</template>
</div>
</template>

Expand Down

0 comments on commit 2863247

Please sign in to comment.