Skip to content

Commit fa9c07d

Browse files
authored
Merge pull request #350 from bhatiadheeraj/tooltip_info
Tooltip info
2 parents 2f70545 + 84fa8a8 commit fa9c07d

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

api/controllers/datalad.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ router.get('/datasets', common.jwt({credentialsRequired: false}), (req, res, nex
4747

4848
/**
4949
* @apiGroup Datalad
50-
* @api {get} /datalad/import/:dataset_id
50+
* @api {post} /datalad/import/:dataset_id
5151
* @apiDescription Import dataset
5252
*
5353
* @apiParam {String} project Project ID to import dataset

ui/src/assets/noprocess.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<p>
2525
To do so, look under the <b>Archive</b> tab on your new project.
2626
Select data objects from a single subject by clicking the checkbox next to each DataType.
27-
Then click <b><icon name="play"/> Stage to process</b> button to open <i>Stage Datasets</i> modal
27+
Then click <b><icon name="play"/> Stage to process
28+
<icon name="info-circle" title="Staging data for processing prepares and transfers selected datasets to a computational environment where they can be analyzed or processed according to project requirements"/>
29+
</b> button to open <i>Stage Datasets</i> modal
2830
where you can select your own project to stage selected dataset to. Click Submit to create a new process.
2931
</p>
3032
<p>

ui/src/components/datasets.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@
162162
</b-btn>
163163
</p>
164164
<p>
165-
<b-btn size="sm" variant="outline-secondary" @click="process"><icon name="play" scale="0.8"/> Stage to process</b-btn>
165+
<b-btn size="sm" variant="outline-secondary" @click="process"><icon name="play" scale="0.8"/> Stage to process
166+
<icon name="info-circle" title="Staging data for processing prepares and transfers selected datasets to a computational environment where they can be analyzed or processed according to project requirements"/>
167+
</b-btn>
166168
</p>
167169
<p>
168170
<b-btn size="sm" variant="outline-secondary" @click="copy"><icon name="copy" scale="0.8"/> Copy</b-btn>

ui/src/project.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
<div v-if="project.stats && get_total(project.stats.instances) > 0" style="display: inline-block; width: 75px;">
4040
<stateprogress :states="project.stats.instances"/>
4141
</div>
42+
<icon name="info-circle" title="A Process is a logical grouping of data analysis and processing tasks that share input and output datasets."/>
4243
</span>
4344

45+
4446
<span v-if="tabinfo.id == 'pipeline' && project.stats && project.stats.rules && (project.stats.rules.active||project.stats.rules.inactive)"
4547
title="Number of pipeline rules" style="opacity: 0.6; font-size: 80%;">
4648
&nbsp;{{project.stats.rules.active}} <small>/ {{project.stats.rules.active + project.stats.rules.inactive}}</small>
@@ -54,6 +56,14 @@
5456
<span v-if="tabinfo.id == 'pub' && project.stats && project.stats.publications > 0" style="opacity: 0.6; font-size: 80%;">
5557
&nbsp;{{project.stats.publications}}
5658
</span>
59+
60+
<span v-if="tabinfo.id=='pub'">
61+
<icon name="info-circle" id="info-publications"></icon>
62+
<b-tooltip target="info-publications" triggers="hover">
63+
Brainlife's publications provide datasets and analyses openly, allowing anyone on the internet to explore and download these resources directly.
64+
</b-tooltip>
65+
</span>
66+
5767
</template>
5868
</b-tab>
5969
</b-tabs>

0 commit comments

Comments
 (0)