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
c6e7bc65
Commit
c6e7bc65
authored
6 months ago
by
David Smadja
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrong left pane for edit test_case 0
parent
d840bc54
Branches
Branches containing commit
Tags
0.0.1024
Tags containing commit
No related merge requests found
Pipeline
#18834
passed
6 months ago
Stage: build
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/components/test_cases/TestCaseView.svelte
+1
-1
1 addition, 1 deletion
src/lib/components/test_cases/TestCaseView.svelte
src/routes/+page.svelte
+4
-4
4 additions, 4 deletions
src/routes/+page.svelte
with
5 additions
and
5 deletions
src/lib/components/test_cases/TestCaseView.svelte
+
1
−
1
View file @
c6e7bc65
...
...
@@ -59,7 +59,7 @@
class=
"mx-0 place-self-start overflow-hidden rounded-lg border border-gray-200 shadow-md md:mb-5"
id=
"situation_{situationIndex}"
>
{
#if
!
displayMode
.
edit
}
{
#if
displayMode
.
edit
===
undefined
}
<div
class=
"bg-gray-100"
id=
"situation_{situationIndex}_case_summary"
>
<div
class=
"px-4 pb-2"
class:pt-4=
{
situation
.
title
===
undefined
}
>
<TestCaseSummary
...
...
This diff is collapsed.
Click to expand it.
src/routes/+page.svelte
+
4
−
4
View file @
c6e7bc65
...
...
@@ -1177,7 +1177,7 @@
id="situation_right_part_impacts"
>
<!--en-tête-->
{#if
!
displayMode.edit}
{#if displayMode.edit
!== undefined
}
<header
class="relative flex w-screen justify-center border-b bg-yellow-50 px-5 md:w-full md:justify-normal xl:px-10"
>
...
...
@@ -1244,7 +1244,7 @@
</a>
</li>
</ul>
{
#if
(displayMode.parametersVariableName !== undefined || displayMode.testCasesIndex.length > 0) && (mobileLawTab || !displayMode.budget) &&
!
displayMode.edit
}
{
#if
(displayMode.parametersVariableName !== undefined || displayMode.testCasesIndex.length > 0) && (mobileLawTab || !displayMode.budget) && displayMode.edit
=== undefined
}
<button
class=
"absolute -bottom-4 right-2 z-30 flex items-center gap-2 rounded border border-le-bleu bg-white px-5 py-2 text-sm font-bold uppercase tracking-[0.085em] text-le-bleu shadow-lg transition-all duration-200 ease-out-back hover:bg-gray-100 active:bg-gray-200 disabled:scale-90 disabled:opacity-0 lg:right-5 xl:right-10"
onclick=
{
shareTestCaseSimulationLink
}
...
...
@@ -1427,7 +1427,7 @@
{
:else
}
{
#key
shared.testCasesIndex.length || displayMode.parametersVariableName
}
<div
class=
{
!
displayMode.edit
class=
{
displayMode.edit
=== undefined
? "px-3 py-4 md:px-5 xl:px-10 xl:py-8"
: "py-2 pl-4 pr-5"
}
out:fade=
{
{ duration: 100 }}
...
...
@@ -1753,7 +1753,7 @@
{
/if
}
</div>
{
/if
}
{
#if
!
displayMode.edit
}
{
#if
displayMode.edit
=== undefined
}
<div
class=
"mt-10 flex flex-col items-stretch justify-center gap-4"
class:md:flex-row=
{
!displayMode.edit
}
...
...
This diff is collapsed.
Click to expand it.
David Smadja
@dsmadja
mentioned in issue
#339 (closed)
·
6 months ago
mentioned in issue
#339 (closed)
mentioned in issue #339
Toggle commit list
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