This pull request adds the members to the team with the possibilitie to add or remove a player or quit the team. It means that this PR implements the account within the team's part of the application.
Moreover some bugs has been fixed.
The view of the team has been translated to react.js
This PR also adds the edit and delete of a team.
This pull request adds the members to the team with the possibilitie to add or remove a player or quit the team. It means that this PR implements the account within the team's part of the application.
Moreover some bugs has been fixed.
The view of the team has been translated to react.js
This PR also adds the edit and delete of a team.
Avoid applying styles on html components directly.
Prefer the use of classes instead, because you are applying those changes on all <header></header> components, which can lead to unwanted styles
Avoid applying styles on html components directly.
Prefer the use of classes instead, because you are applying those changes on all `<header></header>` components, which can lead to unwanted styles
why did you removed `$basePath` here ? please revert it to the original line :
```php
return App::runAction($basePath . '/login', $match['target'], $match['params'], $session);
```
this 'else' is useless since the if statement will always return if executed :
example
if($condition){return$value}else{// some code
}
can become :
if($condition){return$value//because if `$condition` is true, we already return, the code after the `ìf` statement will not be called
}// some code
this 'else' is useless since the if statement will always return if executed :
example
```php
if ($condition) {
return $value
} else {
// some code
}
```
can become :
```php
if ($condition) {
return $value //because if `$condition` is true, we already return, the code after the `ìf` statement will not be called
}
// some code
```
This pull request adds the members to the team with the possibilitie to add or remove a player or quit the team. It means that this PR implements the account within the team's part of the application.
Moreover some bugs has been fixed.
The view of the team has been translated to react.js
This PR also adds the edit and delete of a team.
please respect naming conventions
#mainDiv {
please name your html identifier and classes in
kebab-case
(with a-
between each words, no capital letters)height: 100%;
}
header {
Avoid applying styles on html components directly.
Prefer the use of classes instead, because you are applying those changes on all
<header></header>
components, which can lead to unwanted styles}
return App::runAction($basePath . '/login', $match['target'], $match['params'], $session);
return App::runAction('/login', $match['target'], $match['params'], $session);
why did you removed
$basePath
here ? please revert it to the original line :return ViewHttpResponse::twig('error.html.twig', [
'failures' => [ValidationFail::unauthorized("Vous n'avez pas accès à cette équipe.")],
], HttpCodes::FORBIDDEN);
} else {
this 'else' is useless since the if statement will always return if executed :
example
can become :
1efec8c0d9
to4298230938
1 year ago3a437a7ad1
into master 1 year agoReviewers
3a437a7ad1
.