Added tooltips to explain settings meaning

This commit is contained in:
Eliot Berriot 2018-04-17 19:54:28 +02:00
parent f31874edf5
commit 183bbe3ad6
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 15 additions and 10 deletions

View file

@ -65,22 +65,18 @@
</th>
<th v-if="result && result.results.length > 0">
<i18next path="Showing results {%0%}-{%1%} on {%2%}">
{{ ((page-1) * paginateBy) + 1 }}
{{ ((page-1) * paginateBy) + result.results.length }}
{{ result.count }}
</i18next>
{{ $t('Showing results {%start%}-{%end%} on {%total%}', {start: ((page-1) * paginateBy) + 1 , end: ((page-1) * paginateBy) + result.results.length, total: result.count})}}
<th>
<button
@click="launchImport"
:disabled="checked.length === 0 || isImporting"
:class="['ui', 'green', {loading: isImporting}, 'button']">
<i18next path="Import {%count%} tracks" :count="checked.length"/>
{{ $t('Import {%count%} tracks', {'count': checked.length}) }}
</button>
<router-link
v-if="importBatch"
:to="{name: 'library.import.batches.detail', params: {id: importBatch.id }}">
<i18next path="Import #{%id%} launched" :id="importBatch.id"/>
<i18next path="Import #{%id%} launched" :id="importBatch.id"/>
</router-link>
</th>
<th></th>