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
097b1e59
Commit
097b1e59
authored
Aug 4, 2021
by
Emmanuel Raviart
Browse files
Options
Downloads
Patches
Plain Diff
Show red icon when decomposition is obsolete.
parent
fae4430e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+7
-6
7 additions, 6 deletions
...lib/components/scholar_waterfalls/ScholarWaterfall.svelte
src/lib/decompositions.ts
+2
-0
2 additions, 0 deletions
src/lib/decompositions.ts
with
9 additions
and
6 deletions
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+
7
−
6
View file @
097b1e59
...
...
@@ -305,7 +305,7 @@
{
/if
}
{
:
else
}
<div>
{
#if
decomposition
.
last_review
===
undefined
||
decomposition
.
last_review
<
"
2020
"
}
{
#if
decomposition
.
last_review
===
undefined
||
decomposition
.
last_review
<
"
2020
"
||
decomposition
.
obsolete
}
<!-- Inspired from Material Icons name: Warning / with white symbol inside -->
<svg
aria-hidden=
"true"
...
...
@@ -313,16 +313,17 @@
viewBox=
"0 0 24 22"
xmlns=
"http://www.w3.org/2000/svg"
>
<title
>
Dernière relecture :
{
#if
decomposition
.
last_review
===
undefined
}
<i
<title
>
Dernière relecture :
{
#if
decomposition
.
last_review
===
undefined
}
<i
>
date indéterminée
</i
>
{
:
else
}{
dateFormatter
.
format
(
new
Date
(
decomposition
.
last_review
),
)
}{
/if
}
</title
>
)
}{
/if
}
{
#if
decomposition
.
obsolete
}
; Obsolète !
{
/if
}
</title>
<path
d=
"M0.124322 18.4377C-0.240619 19.1041 0.241623 19.918 1.00142 19.918H20.6259C21.3857 19.918 21.868 19.1041 21.503 18.4377L11.6908 0.519686C11.3113 -0.173228 10.316 -0.173229 9.93658 0.519685L0.124322 18.4377ZM11.8591 16.8375C11.8591 17.3898 11.4114 17.8375 10.8591 17.8375H10.7682C10.2159 17.8375 9.76822 17.3898 9.76822 16.8375V16.627C9.76822 16.0747 10.2159 15.627 10.7682 15.627H10.8591C11.4114 15.627 11.8591 16.0747 11.8591 16.627V16.8375ZM11.8591 12.7416C11.8591 13.2938 11.4114 13.7416 10.8591 13.7416H10.7682C10.2159 13.7416 9.76822 13.2938 9.76822 12.7416V7.3298C9.76822 6.77751 10.2159 6.3298 10.7682 6.3298H10.8591C11.4114 6.3298 11.8591 6.77751 11.8591 7.3298V12.7416Z"
fill=
"#FFAC33"
fill=
{
decomposition
.
obsolete
?
"
#FF4133
"
:
"
#FFAC33
"
}
/>
<path
d=
"M10.7686 17.8378H10.8595C11.4117 17.8378 11.8595 17.3901 11.8595 16.8378V16.6273C11.8595 16.075 11.4117 15.6273 10.8595 15.6273H10.7686C10.2163 15.6273 9.76855 16.075 9.76855 16.6273V16.8378C9.76855 17.3901 10.2163 17.8378 10.7686 17.8378Z"
...
...
This diff is collapsed.
Click to expand it.
src/lib/decompositions.ts
+
2
−
0
View file @
097b1e59
...
...
@@ -19,6 +19,7 @@ export interface Decomposition {
last_review
?:
string
name
:
string
negate
?:
boolean
obsolete
?:
boolean
open
?:
boolean
parentName
?:
string
previousChildStack
?:
string
[]
...
...
@@ -79,6 +80,7 @@ export function decompositionByNameFromCore(
last_review
:
decompositionCore
.
last_review
,
name
,
negate
,
obsolete
:
decompositionCore
.
obsolete
,
trunk
,
ux_name
:
decompositionCore
.
ux_name
,
virtual
:
decompositionCore
.
virtual
,
...
...
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