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
1befa4a9
Commit
1befa4a9
authored
2 years ago
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Ui du panneau de notif
parent
80a08da0
No related branches found
No related tags found
1 merge request
!100
Ui du panneau de notif
Pipeline
#5807
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/legifrance/ArticleView.svelte
+16
-17
16 additions, 17 deletions
src/lib/components/legifrance/ArticleView.svelte
with
16 additions
and
17 deletions
src/lib/components/legifrance/ArticleView.svelte
+
16
−
17
View file @
1befa4a9
...
...
@@ -51,6 +51,22 @@
<div
class=
"grid grid-cols-1 gap-x-8 sm:grid-cols-3"
>
<div
class=
"mb-4 sm:col-span-2"
>
<div
class=
"mb-3 flex rounded-md border-2 border-orange-500 bg-orange-100 p-2"
>
<Icon
class=
"mr-2 h-5 w-5 min-w-fit text-orange-500"
icon=
"ri-file-warning-fill"
/>
<p
class=
"text-orange-900"
>
Cet article est
<span
class=
"font-bold"
>
{
#if
numArticle
.
startsWith
(
"
A
"
)
}
un arrêté
{
:else
if
numArticle
.
startsWith
(
"
D
"
)
}
un décret
{
:else
if
numArticle
.
startsWith
(
"
R
"
)
}
un
décret pris en Conseil d'État
{
/if
}
</span
>
. Il n'est pas amendable par un parlementaire.
</p>
</div>
<h4
class=
"mb-2 font-serif text-xl italic text-gray-700 md:text-2xl"
>
<Icon
class=
"mr-1 inline-flex h-7 w-7 text-le-gris-dispositif-light"
...
...
@@ -86,23 +102,6 @@
</div>
</div>
{
#if
numArticle
.
startsWith
(
"
A
"
)
}
<span
class=
"bg-red-500"
>
Cet article fait partie d'un arrêté. Il n'est pas amendable par un
parlementaire.
</span>
{
:else
if
numArticle
.
startsWith
(
"
D
"
)
}
<span
class=
"bg-red-500"
>
Cet article fait partie d'un décret. Il n'est pas amendable par un
parlementaire.
</span>
{
:else
if
numArticle
.
startsWith
(
"
R
"
)
}
<span
class=
"bg-red-500"
>
Cet article fait partie d'un décret pris en Conseil d'État. Il n'est pas
amendable par un parlementaire.
</span>
{
/if
}
<div
class=
"prose font-serif"
>
{
@html
article
.
BLOC_TEXTUEL
.
CONTENU
}
</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