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
f5529e09
Commit
f5529e09
authored
Mar 16, 2023
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Nouvel UI bouton historique et vérification du paramètre pour plus de clarté. Barème
parent
c550bc35
No related branches found
No related tags found
1 merge request
!133
Ameliorations ui - Bouton historique et date de vérification
Pipeline
#8387
passed
Mar 16, 2023
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/variables/VariableReferredScaleParameter.svelte
+56
-60
56 additions, 60 deletions
...omponents/variables/VariableReferredScaleParameter.svelte
with
56 additions
and
60 deletions
src/lib/components/variables/VariableReferredScaleParameter.svelte
+
56
−
60
View file @
f5529e09
...
...
@@ -158,72 +158,68 @@
/>
<
/div
>
<
div
class
=
"
rounded-b bg-gray-100 p-2
"
>
<
div
class
=
"
flex items-baseline text-xs text-gray-600
"
>
<
div
class
=
"
flex bg-gray-100 pb-2
"
>
<
a
class
=
"
link2 ml-2 flex items-center text-sm tracking-wide text-gray-600
"
href
=
"
/parameters/{billParameter.name}
"
rel
=
"
noreferrer
"
target
=
"
_blank
"
>
<
iconify
-
icon
class
=
"
mr-1 align-[-0.3rem] text-base
"
icon
=
"
ri-history-line
"
/>
Historique
<
/a
>
<
/div
>
<
div
class
=
"
rounded-b bg-le-gris-dispositif-ultralight py-2 px-2
"
>
<
div
class
=
"
flex items-center
"
>
<
div
class
=
"
flex
"
>
{
#if
billLatestInstant
!==
"
0001-01-01
"
}
<!--
Date
du
paramètre
-->
<
p
class
=
"
pb-2 text-xs
"
>
Barème
en
vigueur
depuis
le
{
billLatestInstantSplit
[
1
]}
/{billLatestInstantSplit
[
0
]
}
:
<
/p
>
{
/if}
<
a
class
=
"
link2 flex border-r border-gray-700 px-1 pr-2 text-sm tracking-wide text-gray-600
"
class
=
"
hover:decoration-none flex px-1 pb-2 pr-2 text-sm tracking-wide text-black underline decoration-dotted hover:decoration-solid
"
href
=
"
/parameters/{billParameter.name}/edit
"
rel
=
"
noreferrer
"
target
=
"
_blank
"
>
{
#if
lastReviewOrChange
<
"
2020
"
}
<
iconify
-
icon
class
=
"
mr-0.5 text-[#FFAC33] shadow-none
"
icon
=
"
material-symbols:warning-rounded
"
width
=
"
20
"
height
=
"
20
"
/>
<
span
class
=
"
pl-1
"
class
=
"
text-xs
"
title
=
"
La dernière relecture date du
{
dateFormatter(
new Date(lastReviewOrChange),
)
}
">À vérifier
</span
)
}
. Cliquer pour proposer une modification du paramètre."
>
{
:else
}
<iconify-icon
class=
"mr-
0.5 text-[#13CC03]
"
icon=
"material-symbols:
new-releases
"
class=
"mr-
1 align-[-0.3rem] text-sm text-[#FFAC33] shadow-none
"
icon=
"material-symbols:
warning-rounded
"
width=
"20"
height=
"20"
/>
à vérifier
</span
>
{
:else
}
<span
class=
"
pl-1
"
class=
"
text-xs
"
title=
"La dernière relecture date du {dateFormatter(
new Date(lastReviewOrChange),
)}"
>
Vérifié
</span
)}. Cliquer pour proposer une modification du paramètre."
><iconify-icon
class=
"mr-1 align-[-0.3rem] text-sm text-[#13CC03]"
icon=
"material-symbols:new-releases"
width=
"20"
height=
"20"
/>
à jour
</span
>
{
/if
}
</a>
<div>
<a
class=
"link2 ml-2 flex items-center text-sm tracking-wide text-gray-600"
href=
"/parameters/{billParameter.name}"
rel=
"noreferrer"
target=
"_blank"
>
<iconify-icon
class=
"mr-1 inline-flex h-4 w-4"
icon=
"ri-history-line"
/>
Historique
</a
>
</div>
</div>
</div>
</div>
</div>
{
#if
billLatestInstant !==
"
0001
-
01
-
01
"
|| (billReferences !== undefined && billReferences.length > 0)
}
<!--Référence législative-->
<div
class=
"rounded-b bg-le-gris-dispositif-ultralight py-2 px-2"
>
{
#if
billLatestInstant !==
"
0001
-
01
-
01
"
}
<!--Date du paramètre-->
<p
class=
"pb-2 text-xs"
>
Barème en vigueur depuis le
{
billLatestInstantSplit[1]
}
/
{
billLatestInstantSplit[0]
}
:
</p>
{
/if
}
{
#if
billReferences !== undefined && billReferences.length > 0
}
<ul>
{
#each
billReferences as { href, note, title }}
...
...
@@ -259,6 +255,6 @@
referenceUrl={openReferenceUrl ?? null}
/>
{/if}
</div>
{/if}
</div>
</section>
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