Client link: read and sign the agreements first, then the details
While an active agreement is unsigned in its current version, the link's other parts are locked: the overview shows them dashed with "After signing" and no Send button, and every other page of the link (About you, Contact, Passport, Address, Documents, Send) redirects to the agreement and takes nothing posted to it. A new version locks them again until it is signed. Checks: fmt, clippy, 105 unit and 56 integration tests (tests/agreements.rs asserts the redirects, that nothing posted before signing is saved, and that the parts open after signing and close at a new version); the locked overview checked on a phone in light and dark.
This commit is contained in:
1 parent
d0e13dffd2
commit
506221ecd0
6 files changed
+120
-17
No files matched your search
@@ -1592,3 +1592,11 @@ label.check input {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
/* a part of the client link that opens once the agreements are signed */
|
||||
.part.locked {
|
||||
opacity: 0.72;
|
||||
border-style: dashed;
|
||||
}
|
||||
.part.locked:hover {
|
||||
border-color: var(--line);
|
||||
}
|
||||
Reference in new issue
Block a user