Adds ids to differentiate sections of the item submission form.

This commit is contained in:
mateuswetah 2022-12-22 09:40:30 -03:00
parent 926938446b
commit 3ac06424c6
2 changed files with 34 additions and 14 deletions

12
package-lock.json generated
View File

@ -6621,9 +6621,9 @@
}
},
"loader-utils": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",
"integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz",
"integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==",
"dev": true,
"requires": {
"big.js": "^5.2.2",
@ -6666,9 +6666,9 @@
}
},
"loader-utils": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",
"integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz",
"integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==",
"dev": true,
"requires": {
"big.js": "^5.2.2",

View File

@ -579,7 +579,8 @@
<!-- Message displayed when the form is being submitted -->
<section
v-if="isSubmitting || isUploading"
class="section">
class="section"
id="submission-form-processing">
<div class="content has-text-grey has-text-centered">
<br>
<p>
@ -587,9 +588,17 @@
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-updating tainacan-icon-spin"/>
</span>
</p>
<h2>{{ $i18n.get('label_sending_form') }}</h2>
<p v-if="isSubmitting">{{ $i18n.get('info_submission_processing') }}</p>
<p v-if="isUploading">{{ $i18n.get('info_submission_uploading') }}</p>
<h2 id="submission-form-is-processing-label">{{ $i18n.get('label_sending_form') }}</h2>
<p
id="submission-form-is-processing-info"
v-if="isSubmitting">
{{ $i18n.get('info_submission_processing') }}
</p>
<p
id="submission-form-is-uploading-info"
v-if="isUploading">
{{ $i18n.get('info_submission_uploading') }}
</p>
<br>
</div>
</section>
@ -597,7 +606,8 @@
<!-- Message displayed once the form is submitted -->
<section
v-if="hasSentForm"
class="section">
class="section"
id="submission-form-sent">
<div class="content has-text-grey has-text-centered">
<br>
<p>
@ -605,9 +615,19 @@
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-approvedcircle"/>
</span>
</p>
<h2 v-if="sentFormHeading">{{ sentFormHeading }}</h2>
<p v-if="sentFormMessage">{{ sentFormMessage }}</p>
<p v-if="showItemLinkButton && linkToCreatedItem">
<h2
id="submission-form-sent-label"
v-if="sentFormHeading">
{{ sentFormHeading }}
</h2>
<p
id="submission-form-sent-info"
v-if="sentFormMessage">
{{ sentFormMessage }}
</p>
<p
id="submission-form-sent-link"
v-if="showItemLinkButton && linkToCreatedItem">
<a
style="text-decoration: none"
:href="linkToCreatedItem"