Skip to content
Snippets Groups Projects
Commit ed5b4eed authored by zolhorvath's avatar zolhorvath
Browse files

ISAICP-9126: Update subscription form lead text of closed collections with CoC

parent 593cd6a2
No related branches found
No related tags found
1 merge request!190Release v1.113.0
...@@ -84,7 +84,7 @@ Feature: Joining and leaving collections through the web interface ...@@ -84,7 +84,7 @@ Feature: Joining and leaving collections through the web interface
# There is a Code of Conduct document, what the user must accept before # There is a Code of Conduct document, what the user must accept before
# requesting for membership, so the button text must not change. # requesting for membership, so the button text must not change.
Then I should see the button "Join this collection" in the Header region Then I should see the button "Join this collection" in the Header region
And I should see the text "To complete your membership, we need to make sure you agree with our Code of conduct. This helps us maintain a safe and respectful environment for all members of Closed collection with public CoC" And I should see the text "To validate your membership and send it for approval, please tick the box agreeing with the Code of conduct. This helps us maintain a safe and respectful environment for all members of Closed collection with public CoC"
And I should not see the following lines of text: And I should not see the following lines of text:
| You have joined the collection and you are now able to publish content in it. | | You have joined the collection and you are now able to publish content in it. |
| When your membership is approved you will be able to publish content in it. | | When your membership is approved you will be able to publish content in it. |
......
...@@ -247,7 +247,7 @@ protected function getCodeOfConductComponents(?RdfInterface $collection): ?array ...@@ -247,7 +247,7 @@ protected function getCodeOfConductComponents(?RdfInterface $collection): ?array
$codeOfConductComponents['code_of_conduct_lead'] = [ $codeOfConductComponents['code_of_conduct_lead'] = [
'#type' => 'item', '#type' => 'item',
'#markup' => $this->t( '#markup' => $this->t(
'To complete your membership, we need to make sure you agree with our <a href=":code-of-conduct-url" target="_blank">Code of conduct</a>. This helps us maintain a safe and respectful environment for all members of @group-label', 'To validate your membership and send it for approval, please tick the box agreeing with the <a href=":code-of-conduct-url" target="_blank">Code of conduct</a>. This helps us maintain a safe and respectful environment for all members of @group-label.',
$codeOfConductArgs, $codeOfConductArgs,
), ),
'#weight' => -5, '#weight' => -5,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment