Rename 'Results' and 'Submissions' to consistent 'Responses' including icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
ab3fff47c2
commit
502809ddad
|
@ -38,9 +38,9 @@
|
||||||
</ActionLink>
|
</ActionLink>
|
||||||
<ActionRouter :close-after-click="true"
|
<ActionRouter :close-after-click="true"
|
||||||
:exact="true"
|
:exact="true"
|
||||||
icon="icon-forms"
|
icon="icon-comment"
|
||||||
:to="{ name: 'results', params: { hash: form.hash } }">
|
:to="{ name: 'results', params: { hash: form.hash } }">
|
||||||
{{ t('forms', 'Show results') }}
|
{{ t('forms', 'Responses') }}
|
||||||
</ActionRouter>
|
</ActionRouter>
|
||||||
<!-- <ActionRouter :close-after-click="true"
|
<!-- <ActionRouter :close-after-click="true"
|
||||||
:exact="true"
|
:exact="true"
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
<!-- Show results & sidebar button -->
|
<!-- Show results & sidebar button -->
|
||||||
<TopBar>
|
<TopBar>
|
||||||
<button @click="showResults">
|
<button @click="showResults">
|
||||||
<span class="icon-forms" role="img" />
|
<span class="icon-comment" role="img" />
|
||||||
{{ t('forms', 'Show results') }}
|
{{ t('forms', 'Responses') }}
|
||||||
</button>
|
</button>
|
||||||
<button v-tooltip="t('forms', 'Toggle settings')"
|
<button v-tooltip="t('forms', 'Toggle settings')"
|
||||||
:aria-label="t('forms', 'Toggle settings')"
|
:aria-label="t('forms', 'Toggle settings')"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<template>
|
<template>
|
||||||
<AppContent v-if="loadingResults">
|
<AppContent v-if="loadingResults">
|
||||||
<EmptyContent icon="icon-loading">
|
<EmptyContent icon="icon-loading">
|
||||||
{{ t('forms', 'Loading results') }}
|
{{ t('forms', 'Loading responses …') }}
|
||||||
</EmptyContent>
|
</EmptyContent>
|
||||||
</AppContent>
|
</AppContent>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
</TopBar>
|
</TopBar>
|
||||||
|
|
||||||
<header v-if="!noSubmissions">
|
<header v-if="!noSubmissions">
|
||||||
<h2>{{ t('forms', 'Results of {title}', { title: form.title }) }}</h2>
|
<h2>{{ t('forms', 'Responses for {title}', { title: form.title }) }}</h2>
|
||||||
<div v-for="sum in stats" :key="sum">
|
<div v-for="sum in stats" :key="sum">
|
||||||
{{ sum }}
|
{{ sum }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,8 +46,11 @@
|
||||||
|
|
||||||
<!-- No submissions -->
|
<!-- No submissions -->
|
||||||
<section v-if="noSubmissions">
|
<section v-if="noSubmissions">
|
||||||
<EmptyContent>
|
<EmptyContent icon="icon-comment">
|
||||||
{{ t('forms', 'There are no submissions to this form.') }}
|
{{ t('forms', 'No responses yet') }}
|
||||||
|
<template #desc>
|
||||||
|
{{ t('forms', 'Results of submitted forms will show up here') }}
|
||||||
|
</template>
|
||||||
<!-- Button to copy Share-Link? -->
|
<!-- Button to copy Share-Link? -->
|
||||||
</EmptyContent>
|
</EmptyContent>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue