Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
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
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
d18282e8
Commit
d18282e8
authored
9 months ago
by
Dorine Lambinet
Committed by
David Smadja
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Affiche le montant total du parent, en très faible opacité
parent
84860e6f
No related branches found
No related tags found
1 merge request
!272
Reflexions feuille de paie
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/WaterfallView.svelte
+14
-5
14 additions, 5 deletions
src/lib/components/WaterfallView.svelte
with
14 additions
and
5 deletions
src/lib/components/WaterfallView.svelte
+
14
−
5
View file @
d18282e8
...
...
@@ -613,9 +613,6 @@
class=
"flex flex-col items-center justify-end pr-1 sm:flex-row md:flex-col md:pr-4 lg:flex-row"
class:py-1=
{
!trunk
}
>
{
#if
trunk && index !== 0
}
<span
class=
"content-center font-normal text-gray-500"
>
=
</span>
{
/if
}
{
#each
rows as { calculationName, deltaAtVectorIndex }}
<span
class="h-full pl-1 text-right text-sm"
...
...
@@ -664,11 +661,13 @@
?
'
text
-
le
-
rouge
-
bill
'
:
'
text
-
le
-
rouge
-
bill
line
-
through
-
amendment
'
:
'
bg
-
le
-
jaune
text
-
gray
-
500
'
}
"
>
<span
class=
"content-center pr-1 font-normal text-gray-500"
>
=
</span
>
{
firstDeltaFormatter(deltaAtVectorIndex ?? 0)
}
</span
>
{
:else
if
!decomposition.open
}
{
:else
}
<span
class=
"align-middle text-base font-bold {calculationName ===
class=
"
opac
align-middle text-base font-bold {calculationName ===
firstCalculationName
? rows.find((row) => row.calculationName === 'bill') ===
undefined
...
...
@@ -685,9 +684,19 @@
? 'text-le-rouge-bill'
: 'text-le-rouge-bill line-through-amendment'
: 'bg-le-jaune'}"
class:opacity-20=
{
decomposition.open
}
class:pr-1=
{
decomposition.open
}
>
{
#if
index !== 0
}{
#if
deltaAtVectorIndex < 0
}
-
{
:else
if
deltaAtVectorIndex > 0
}
+
{
/if
}{
/if
}
{
deltaFormatter(deltaAtVectorIndex ?? 0)
}
</span
>
{
#if
decomposition.open
}
<span
class=
"opacity-20"
>
<iconify-icon
class=
"align-[-0.35rem] text-lg hover:text-le-gris-dispositif"
icon=
"ri-sort-desc"
></iconify-icon></span
>
{
/if
}
{
/if
}
</span>
{
/each
}
...
...
...
...
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