Skip to content

Commit

Permalink
♻️ admin: PixCollapsible from default to content aftep pixiu update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcampourcy committed Nov 15, 2024
1 parent 5fe6da7 commit 5e4e2d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions admin/app/components/common/tubes-details/area.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Competence from '../tubes-details/competence';
<div class="area-border {{@color}}"></div>
<PixCollapsible class="{{@color}} list-competences">
<:title>{{@title}}</:title>
<:default>
<:content>
{{#each @competences as |competence|}}
<Competence
@title={{competence.title}}
Expand All @@ -16,7 +16,7 @@ import Competence from '../tubes-details/competence';
@displaySkillDifficultyAvailability={{@displaySkillDifficultyAvailability}}
/>
{{/each}}
</:default>
</:content>
</PixCollapsible>
</div>
</template>
4 changes: 2 additions & 2 deletions admin/app/components/common/tubes-details/competence.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Tube from '../tubes-details/tube';
<div class="competence-container">
<PixCollapsible>
<:title>{{@title}}</:title>
<:default>
<:content>
<div class="panel">
<table class="table content-text content-text--small select-tube-table">
<caption class="screen-reader-only">Sélection des sujets</caption>
Expand Down Expand Up @@ -55,7 +55,7 @@ import Tube from '../tubes-details/tube';
</tbody>
</table>
</div>
</:default>
</:content>
</PixCollapsible>
</div>
</template>
4 changes: 2 additions & 2 deletions admin/app/components/common/tubes-selection/areas.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Competence from './competence';
<div class="area-border {{area.color}}"></div>
<PixCollapsible class="{{area.color}} list-competences">
<:title>{{area.code}} · {{area.title}}</:title>
<:default>
<:content>
{{#each area.sortedCompetences as |competence|}}
<Competence
@competence={{competence}}
Expand All @@ -21,7 +21,7 @@ import Competence from './competence';
@displaySkillDifficultyAvailability={{@displaySkillDifficultyAvailability}}
/>
{{/each}}
</:default>
</:content>
</PixCollapsible>
</div>
{{/each}}
Expand Down
4 changes: 2 additions & 2 deletions admin/app/components/common/tubes-selection/competence.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Competence extends Component {
<div class="competence-container">
<PixCollapsible>
<:title>{{@competence.index}} {{@competence.name}}</:title>
<:default>
<:content>
<div class="panel">
<table class="table content-text content-text--small select-tube-table">
<caption class="screen-reader-only">Sélection des sujets</caption>
Expand Down Expand Up @@ -109,7 +109,7 @@ export default class Competence extends Component {
</tbody>
</table>
</div>
</:default>
</:content>
</PixCollapsible>
</div>
</template>
Expand Down

0 comments on commit 5e4e2d1

Please sign in to comment.