Skip to content

Commit 5afc700

Browse files
committed
UPD info button
1 parent 4e11aa1 commit 5afc700

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

Diff for: client/src/views/BrowseView.vue

+11-8
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,6 @@ onMounted(() => {
235235
/>
236236
</template>
237237
</Column>
238-
<Column :exportable="false" field="dataset_id" style="width: 5%">
239-
<template #body="{ data }">
240-
<a :href="getApiUrl(`transfer/dataset/${data.dataset_id}`)">
241-
<Button text severity="secondary" label="Download" />
242-
</a>
243-
</template>
244-
</Column>
245238

246239
<!-- export columns shown in dialog -->
247240
<Column field="sequencing_platform" header="Platform" style="display: none"></Column>
@@ -257,16 +250,26 @@ onMounted(() => {
257250
<Column field="pmid" header="PMID" style="display: none"></Column>
258251

259252
<Column :exportable="false" style="width: 5%">
253+
<template #header>
254+
<span v-tooltip.top="'Click for dataset information'">Info</span>
255+
</template>
260256
<template #body="slotProps">
261257
<Button
262-
icon="pi pi-plus"
258+
icon="pi pi-info"
263259
outlined
264260
rounded
265261
severity="secondary"
266262
@click="onOverlay(slotProps.data)"
267263
/>
268264
</template>
269265
</Column>
266+
<Column :exportable="false" field="dataset_id" style="width: 5%">
267+
<template #body="{ data }">
268+
<a :href="getApiUrl(`transfer/dataset/${data.dataset_id}`)">
269+
<Button text severity="secondary" label="Download" />
270+
</a>
271+
</template>
272+
</Column>
270273
</DataTable>
271274
</div>
272275

Diff for: client/src/views/SearchView.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,12 @@ onMounted(() => {
518518
<Column field="gene_name" header="Gene" exportHeader="Gene"></Column>
519519
<Column field="gene_biotype" header="Biotype" exportHeader="Biotype"></Column>
520520
<Column :exportable="false" style="width: 5%">
521+
<template #header>
522+
<span v-tooltip.top="'Click for site information'">Info</span>
523+
</template>
521524
<template #body="slotProps">
522525
<Button
523-
icon="pi pi-plus"
526+
icon="pi pi-info"
524527
outlined
525528
rounded
526529
severity="secondary"

0 commit comments

Comments
 (0)