mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-17 22:36:14 +00:00
modifications to adapt to AMLI
This commit is contained in:
parent
3c685d50dd
commit
f987a6b5e0
@ -332,8 +332,8 @@ $grid-breakpoints: (
|
||||
) !default;
|
||||
// scss-docs-end grid-breakpoints
|
||||
|
||||
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
||||
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
||||
// @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
||||
// @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
||||
|
||||
|
||||
// Grid containers
|
||||
@ -350,7 +350,7 @@ $container-max-widths: (
|
||||
) !default;
|
||||
// scss-docs-end container-max-widths
|
||||
|
||||
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
||||
// @include _assert-ascending($container-max-widths, "$container-max-widths");
|
||||
|
||||
|
||||
// Grid columns
|
||||
|
@ -1 +1 @@
|
||||
<img class="logo" src="{{ asset('build/images/logo-chill-outil-accompagnement_white.png') }}">
|
||||
<img class="logo" src="{{ asset('build/images/achille.png') }}" style="width: 544px; margin-bottom: 2rem;">
|
@ -49,6 +49,6 @@
|
||||
{{ include('@ChillMain/Login/_footer.html.twig') }}
|
||||
</div>
|
||||
|
||||
{{ encore_entry_script_tags('page_login') }}
|
||||
{# {{ encore_entry_script_tags('page_login') }} #}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -27,7 +27,7 @@ final class Version20180905101426 extends AbstractMigration
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE permission_groups ADD flags JSONB DEFAULT \'[]\' NOT NULL');
|
||||
// $this->addSql('ALTER TABLE permission_groups ADD flags JSONB DEFAULT \'[]\' NOT NULL');
|
||||
$this->addSql('ALTER TABLE group_centers ALTER permissionsgroup_id DROP NOT NULL');
|
||||
}
|
||||
}
|
||||
|
@ -166,10 +166,12 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
|
||||
|
||||
if (AccompanyingPeriod::STEP_DRAFT === $subject->getStep()) {
|
||||
// only creator can see, edit, delete, etc.
|
||||
dump($subject->getCreatedBy());
|
||||
if (
|
||||
$subject->getCreatedBy() === $token->getUser()
|
||||
|| null === $subject->getCreatedBy()
|
||||
) {
|
||||
dump('i am true');
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -213,7 +215,7 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
|
||||
return $token->getUser() === $subject->getUser();
|
||||
}
|
||||
}
|
||||
|
||||
dump($this->voterHelper->voteOnAttribute($attribute, $subject, $token));
|
||||
return $this->voterHelper->voteOnAttribute($attribute, $subject, $token);
|
||||
}
|
||||
}
|
||||
|
@ -54,9 +54,9 @@ final class Version20220215135509 extends AbstractMigration implements Container
|
||||
|
||||
$this->addSql(
|
||||
'UPDATE chill_person_person SET ' .
|
||||
$this->buildMigrationPhonenumberClause($carrier_code, 'phonenumber') .
|
||||
', ' .
|
||||
$this->buildMigrationPhoneNumberClause($carrier_code, 'mobilenumber')
|
||||
$this->buildMigrationPhonenumberClause($carrier_code, 'phonenumber') .
|
||||
', ' .
|
||||
$this->buildMigrationPhoneNumberClause($carrier_code, 'mobilenumber')
|
||||
);
|
||||
|
||||
$this->addSql('ALTER TABLE chill_person_phone ALTER phonenumber TYPE TEXT');
|
||||
@ -66,7 +66,7 @@ final class Version20220215135509 extends AbstractMigration implements Container
|
||||
|
||||
$this->addSql(
|
||||
'UPDATE chill_person_phone SET ' .
|
||||
$this->buildMigrationPhoneNumberClause($carrier_code, 'phonenumber')
|
||||
$this->buildMigrationPhoneNumberClause($carrier_code, 'phonenumber')
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user