forked from Hexlet/hexlet-correction
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into features/Hexlet#159
- Loading branch information
Showing
9 changed files
with
102 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,7 @@ wks.placeholder.descr=Workspace Description | |
wks.info=Info | ||
wks.typos=Typos | ||
wks.users=Users | ||
wks.users.email-placeholder=Enter user email. For example: [email protected] | ||
wks.settings=Settings | ||
wks.urls=URLs | ||
wks.integration=Integration | ||
|
@@ -107,3 +108,4 @@ btn.delete-from-wks=Delete from workspace | |
alert.password-wrong-format=Password must be between 8 and 20 characters \ | ||
and contain only latin letters, digits and symbols ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/ | ||
link.sign-in-with-github=Sign in with GitHub | ||
alert.passwords-dont-match=Confirmation does not match the password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,7 @@ wks.placeholder.descr=Описание Пространства | |
wks.info=Информация | ||
wks.typos=Опечатки | ||
wks.users=Пользователи | ||
wks.users.email-placeholder=Введите адрес электронной почты пользователя. Например: [email protected] | ||
wks.settings=Настройки | ||
wks.urls=Домены | ||
wks.integration=Интеграция | ||
|
@@ -105,3 +106,4 @@ alert.password-wrong-format=Пароль должен быть от 8 до 20 с | |
\ и содержать только буквы латинского алфавита,\ | ||
\ цифры и символы ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/ | ||
link.sign-in-with-github=Войти с помощью: GitHub | ||
alert.passwords-dont-match=Подтверждение не совпадает с паролем |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
<form method="POST" th:action="@{'/workspace/' + ${wksId} + '/users'}" th:object="${inputEmail}"> | ||
<div class="form-group"> | ||
<input type="email" class="form-control" id="inputUserEmail" | ||
placeholder="Enter user email. For example: [email protected]" th:field="*{email}" | ||
th:placeholder="#{wks.users.email-placeholder}" th:field="*{email}" | ||
th:classappend="${!#fields.hasErrors('email') && formModified}? 'is-valid'" | ||
th:errorclass="is-invalid" required> | ||
<div class="invalid-feedback" th:if="${#fields.hasErrors('email')}"> | ||
|
@@ -103,7 +103,7 @@ | |
<tbody> | ||
<th:block th:each="userInfo : ${userPage.content}" th:object="${userInfo}"> | ||
<!-- Workspace user table row --> | ||
<tr aria-expanded="false" class="accordion collapsed" data-bs-toggle="collapse"> | ||
<tr> | ||
<td th:text="*{id}"></td> | ||
<td th:text="*{firstName}"></td> | ||
<td th:text="*{lastName}"></td> | ||
|
@@ -121,24 +121,8 @@ | |
</td> | ||
</tr> | ||
<!-- Workspace user table row collapsed part --> | ||
<tr> | ||
<td class="p-0" colspan="7"> | ||
<div class="accordion-collapse collapse" th:id="|collapseUserRowId_*{id}|"> | ||
<div class="p-4"> | ||
<div class="row mb-2"> | ||
<!-- Workspace user table row delete buttons --> | ||
<div class="col-1"> | ||
<form th:action="@{'/users/' + *{id}(wksId=${wksId})}" | ||
th:method="delete"> | ||
<button class="btn btn-danger" type="submit">Delete | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<!-- Deleted --> | ||
<!-- TODO add possibility for admin to leave workspace (i.e. delete himself from wks), like in posthog service --> | ||
</th:block> | ||
</tbody> | ||
</table> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters