Skip to content

Commit

Permalink
Added message if form cannot load record
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Nov 8, 2021
1 parent 689b4e3 commit 371b269
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion cache/captions/de_de
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,8 @@
"help":"Hilfeseiten",
"helpContextTitle":"Kontext",
"helpModuleTitle":"Anwendung",
"invalidInputs":"Eingaben prüfen!"
"invalidInputs":"Eingaben prüfen!",
"noAccess":"Kein Zugriff"
},
"home":{
"button":{
Expand Down
3 changes: 2 additions & 1 deletion cache/captions/en_us
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,8 @@
"help":"Help pages",
"helpContextTitle":"Context",
"helpModuleTitle":"Application",
"invalidInputs":"Check inputs!"
"invalidInputs":"Check inputs!",
"noAccess":"No access"
},
"home":{
"button":{
Expand Down
3 changes: 2 additions & 1 deletion cache/captions/it_it
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,8 @@
"help":"Pagine aiuto",
"helpContextTitle":"Contesto",
"helpModuleTitle":"Applicazione",
"invalidInputs":"Controlla input!"
"invalidInputs":"Controlla input!",
"noAccess":"Nessun accesso"
},
"home":{
"button":{
Expand Down
9 changes: 8 additions & 1 deletion www/comps/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,15 @@ let MyForm = {
:darkBg="true"
/>
</div>
<div class="area" v-if="badSave && fieldIdsInvalid.length !== 0">
<div class="area">
<my-button image="warning.png"
v-if="badLoad"
:caption="capApp.noAccess"
:cancel="true"
:darkBg="true"
/>
<my-button image="warning.png"
v-if="badSave && fieldIdsInvalid.length !== 0"
@trigger="scrollToInvalidField"
:caption="capApp.invalidInputs"
:cancel="true"
Expand Down

0 comments on commit 371b269

Please sign in to comment.