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
97a58e15
Commit
97a58e15
authored
Jul 4, 2022
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Fix l'emplacement du picto
parent
56091744
No related branches found
No related tags found
1 merge request
!92
Fix l'emplacement du picto
Pipeline
#4155
passed
Jul 4, 2022
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/variables/VariableHeader.svelte
+61
-59
61 additions, 59 deletions
src/lib/components/variables/VariableHeader.svelte
with
61 additions
and
59 deletions
src/lib/components/variables/VariableHeader.svelte
+
61
−
59
View file @
97a58e15
...
@@ -131,13 +131,14 @@
...
@@ -131,13 +131,14 @@
{
/if
}
{
/if
}
</div>
</div>
<div
class=
"mb-4"
>
<!--Description du dispositif-->
<!--Description du dispositif-->
{
#if
descriptionsByInstant
!==
undefined
}
{
#if
descriptionsByInstant
!==
undefined
}
<!--Add variable descriptions as described in decomposition customization and order them by date. -->
<!--Add variable descriptions as described in decomposition customization and order them by date. -->
{
#each
Object
.
entries
(
descriptionsByInstant
).
sort
(
([
instant1
],
[
instant2
])
=>
instant2
.
localeCompare
(
instant1
),
)
as
[
instant
,
descriptions
]
}
{
#each
Object
.
entries
(
descriptionsByInstant
).
sort
(
([
instant1
],
[
instant2
])
=>
instant2
.
localeCompare
(
instant1
),
)
as
[
instant
,
descriptions
]
}
{
#each
descriptions
as
{
href
,
note
,
title
}}
{
#each
descriptions
as
{
href
,
note
,
title
}}
<
article
class
=
"
mr-4
"
>
<
article
class
=
"
mr-4
"
>
<
div
class
=
"
mb-4
"
>
<
div
class
=
""
>
{
#if
note
!==
undefined
}
{
#if
note
!==
undefined
}
<
span
<
span
class
=
"
break-words font-serif text-sm leading-normal text-black
"
class
=
"
break-words font-serif text-sm leading-normal text-black
"
...
@@ -156,10 +157,11 @@
...
@@ -156,10 +157,11 @@
{
title
??
href
}
{
title
??
href
}
<
span
class
=
"
text-xs
"
<
span
class
=
"
text-xs
"
>
(
consulté
le
{
dateFormatter
.
format
(
new
Date
(
instant
))})
>
(
consulté
le
{
dateFormatter
.
format
(
new
Date
(
instant
))})
<
/span>
<Ico
n
<
Icon
class
=
"
ml-0.5 inline h-3 w-3
"
class
=
"
ml-0.5 inline h-3 w-3
"
icon
=
"
ri-share-box-fill
"
icon
=
"
ri-share-box-fill
"
/>
/><
/spa
n
>
<
/a
>
<
/a
>
{
/if}
{
/if}
<
/span
>
<
/span
>
...
@@ -169,12 +171,13 @@
...
@@ -169,12 +171,13 @@
{
/each}
{
/each}
{
/each}
{
/each}
{
/if}
{
/if}
<
/div
>
<
div
class
=
"
mb-4
"
>
<!--
Référence
législative
du
dispositif
-->
<!--
Référence
législative
du
dispositif
-->
{
#if
referencesByInstant
!==
undefined
}
{
#if
referencesByInstant
!==
undefined
}
<!--
Add
variable
references
as
described
in
openfisca
references
+
decomposition
customization
and
order
them
by
date
.
-->
<!--
Add
variable
references
as
described
in
openfisca
references
+
decomposition
customization
and
order
them
by
date
.
-->
{
#each
Object
.
entries
(
referencesByInstant
).
sort
(
([
instant1
],
[
instant2
])
=>
instant2
.
localeCompare
(
instant1
),
)
as
[
instant
,
references
]}
{
#each
Object
.
entries
(
referencesByInstant
).
sort
(
([
instant1
],
[
instant2
])
=>
instant2
.
localeCompare
(
instant1
),
)
as
[
instant
,
references
]}
<
div
class
=
"
mr-4
mb-4
rounded-sm bg-le-gris-dispositif-ultralight p-2
"
>
<
div
class
=
"
mr-4 rounded-sm bg-le-gris-dispositif-ultralight p-2
"
>
{
#each
references
as
{
href
,
note
,
title
}}
{
#each
references
as
{
href
,
note
,
title
}}
<
ul
class
=
"
text-xs
"
>
<
ul
class
=
"
text-xs
"
>
<
li
>
<
li
>
...
@@ -184,12 +187,10 @@
...
@@ -184,12 +187,10 @@
{
/if}
{
/if}
{:
else
}
{:
else
}
<
a
class
=
"
link text-black
"
{
href
}
target
=
"
_blank
"
<
a
class
=
"
link text-black
"
{
href
}
target
=
"
_blank
"
><
span
class
=
"
link flex items-center
"
>
><
Icon
<
Icon
class
=
"
mr-1 inline-flex h-4 w-4
"
class
=
"
mr-1 h-4 w-4
"
icon
=
"
ri-file-text-line
"
icon
=
"
ri-file-text-line
"
/>
{
title
??
href
}
<
/spa
n
/><
span
>
{
title
??
href
}
<
/span
>
>
<
/a
>
<
/a
>
{
/if}
{
/if}
<
/li
>
<
/li
>
...
@@ -198,3 +199,4 @@
...
@@ -198,3 +199,4 @@
<
/div
>
<
/div
>
{
/each}
{
/each}
{
/if}
{
/if}
<
/div
>
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