Skip to content
Snippets Groups Projects
Commit bd1dc1fe authored by Claudiu Cristea's avatar Claudiu Cristea
Browse files

ISAICP-9282: Link text should be 'My submissions'.

parent de62919c
No related branches found
No related tags found
2 merge requests!205Update ephemeral with develop,!204Release 2.1.0
......@@ -366,7 +366,7 @@ Feature: Assessments
When I go to "/collection/assessments/assessment-reports"
Then I should see the heading "Assessment Reports"
And I should see the link "New assessment"
And I should not see the link "My assessments"
And I should not see the link "My submissions"
And I should see the text "There's are no published assessment reports yet. You can add one by filling this questionnaire"
And assessment_report content:
| title | state | created | organization | collection |
......@@ -386,7 +386,7 @@ Feature: Assessments
When I go to "/collection/assessments/assessment-reports"
Then I should see the heading "Assessment Reports"
And I should see the link "New assessment"
And I should not see the link "My assessments"
And I should not see the link "My submissions"
And I should not see the text "There's are no published assessment reports yet. You can add one by filling this questionnaire"
# Reports are shown in creation descending order in a 10 pager listing.
And I should see the following tiles in the correct order:
......@@ -446,5 +446,5 @@ Feature: Assessments
When I go to "/collection/assessments/assessment-reports"
Then I should see the heading "Assessment Reports"
And I should see the link "New assessment"
And I should see the link "My assessments"
And I should see the link "My submissions"
And I should not see the text "There's are no published assessment reports yet. You can add one by filling this questionnaire"
......@@ -47,7 +47,7 @@ function joinup_assessment_preprocess_views_view(array &$variables): void {
if ($view->id() === 'assessment_reports' && $view->current_display === 'list' && \Drupal::currentUser()->isAuthenticated()) {
$button_link = [
'#type' => 'link',
'#title' => t('My assessments'),
'#title' => t('My submissions'),
'#url' => Url::fromUserInput('/collection/assessments/assessment-reports/questionnaire/submissions'),
'#attributes' => [
'class' => ['m-3'],
......
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