mirror of
https://github.com/R0m1k3/PleinR.git
synced 2026-10-22 06:38:05 +02:00
polish meeting and consent views
This commit is contained in:
1 parent
afc805c96a
commit
5e7233f98d
6 files changed
+131
-15
No files matched your search
@@ -218,7 +218,9 @@ export default async function EspacePage() {
|
||||
Droit à l'image
|
||||
</h3>
|
||||
<div style={{ color: "#8c8068", fontSize: 13, marginTop: 4 }}>
|
||||
Vous pouvez modifier votre décision à tout moment.
|
||||
{latestConsent?.decision === "accepted"
|
||||
? "Autorisation signée et enregistrée. Vous pouvez la retirer à tout moment."
|
||||
: "Vous pouvez autoriser l'utilisation de votre image à tout moment."}
|
||||
</div>
|
||||
</div>
|
||||
{latestConsent && (
|
||||
@@ -227,7 +229,12 @@ export default async function EspacePage() {
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<ImageConsentForm saveAction={saveImageConsent} defaultName={memberName} compact />
|
||||
<ImageConsentForm
|
||||
saveAction={saveImageConsent}
|
||||
defaultName={memberName}
|
||||
compact
|
||||
currentDecision={latestConsent?.decision === "accepted" ? "accepted" : latestConsent?.decision === "refused" ? "refused" : null}
|
||||
/>
|
||||
</section>
|
||||
)}
|
||||
|
||||
|
||||
Reference in new issue
Block a user