Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f00b72cd authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add tooltip

parent 6665bde2
No related branches found
No related tags found
No related merge requests found
......@@ -231,16 +231,26 @@
</th>
<th>
<div class="th-wrap">
<b-button
size="is-small"
icon-right="bar-chart"
@click="plotsVisible=true"
/>
<b-button
size="is-small"
icon-right="download"
@click="csvExport()"
/>
<b-tooltip
:label="$t('display')"
type="is-black"
>
<b-button
size="is-small"
icon-right="bar-chart"
@click="plotsVisible=true"
/>
</b-tooltip>
<b-tooltip
:label="$t('download')"
type="is-black"
>
<b-button
size="is-small"
icon-right="download"
@click="csvExport()"
/>
</b-tooltip>
</div>
</th>
</template>
......
......@@ -237,34 +237,47 @@
<span v-else>{{ Math.round(syntheseData[module]['total'] / syntheseData.total.total * 10000 / 100) }} %</span>
</td>
<td class="has-text-centered pl-0 pr-0" >
<b-tooltip
v-if="syntheseData[module]['_module']"
:label="$t('display')"
type="is-black"
>
<b-button
size="is-small"
:disabled="plotsIsDisabled(module)"
icon-right="bar-chart"
v-if="syntheseData[module]['_module']"
@click="plots(syntheseData[module]['_module'])"
/>
</b-tooltip>
</td>
<td class="has-text-centered pl-0 pr-0">
<b-tooltip
v-if="syntheseData[module]['_export']"
:label="$t('download')"
type="is-black"
>
<b-button
size="is-small"
:disabled="syntheseData[module]['total'] === 0"
icon-right="download"
v-if="syntheseData[module]['_export']"
@click="csvExport(module)"
/>
</b-tooltip>
</td>
<td v-if="isAuthenticated" class="has-text-centered pl-0 pr-0">
<b-tooltip
v-if="syntheseData[module]['_submit']"
:label="$t('submit')"
type="is-black"
>
<b-button
size="is-small"
:disabled="syntheseData[module].submitted"
icon-left="paper-plane"
type="is-primary"
v-if="syntheseData[module]['_submit']"
@click="submitData(module)"
>
{{ $t('submit') }}
</b-button>
/>
</b-tooltip>
</td>
</tr>
</tbody>
......
......@@ -132,9 +132,10 @@
"validate": "Validate",
"cancel": "Cancel",
"delete": "Delete",
"export": "Export",
"edit": "Edit",
"display": "Display",
"download": "Download",
"export": "Export",
"id": "ID",
"update": "Update",
"engine": "Engine",
......
......@@ -134,6 +134,7 @@
"delete": "Supprimer",
"edit": "Editer",
"display": "Afficher",
"download": "Télécharger",
"export": "Exporter",
"id": "Identifiant",
"update": "Modifier",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment