Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
ab94329a
Commit
ab94329a
authored
Aug 23, 2023
by
Toufic Batache
Browse files
Options
Downloads
Patches
Plain Diff
Ne montrer la modale explicative "faux PLF" qu'une seule fois
parent
c17600ab
No related branches found
No related tags found
1 merge request
!158
Bouton et modale simulation budget et autre évolution UI du budget
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/IntroWarningBillModale.svelte
+9
-3
9 additions, 3 deletions
src/lib/components/IntroWarningBillModale.svelte
with
9 additions
and
3 deletions
src/lib/components/IntroWarningBillModale.svelte
+
9
−
3
View file @
ab94329a
...
...
@@ -12,6 +12,7 @@
import
{
page
}
from
"
$app/stores
"
import
CopyClipboard
from
"
$lib/components/CopyClipboard.svelte
"
import
type
{
ParametricReform
}
from
"
$lib/reforms
"
import
{
browser
}
from
"
$app/environment
"
export
let
isOpen
=
false
...
...
@@ -64,9 +65,14 @@
isOpen
=
false
}
$
:
if
(
browser
)
{
if
(
localStorage
.
getItem
(
"
hideWarningBillModal
"
)
===
null
)
{
localStorage
.
setItem
(
"
hideWarningBillModal
"
,
"
true
"
)
setTimeout
(()
=>
{
isOpen
=
true
},
10000
)
// Affiche la modale après 30 secondes
},
10000
)
// Affiche la modale après 10 secondes
}
}
</script>
<Transition
appear
show=
{
isOpen
}
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment