Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
digit-joinup-reference
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ec-europa
digit-joinup-reference
Commits
bd1dc1fe
Commit
bd1dc1fe
authored
4 months ago
by
Claudiu Cristea
Browse files
Options
Downloads
Patches
Plain Diff
ISAICP-9282: Link text should be 'My submissions'.
parent
de62919c
No related branches found
No related tags found
2 merge requests
!205
Update ephemeral with develop
,
!204
Release 2.1.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/features/joinup_assessment/assessment.feature
+3
-3
3 additions, 3 deletions
tests/features/joinup_assessment/assessment.feature
web/modules/custom/joinup_assessment/joinup_assessment.module
+1
-1
1 addition, 1 deletion
...modules/custom/joinup_assessment/joinup_assessment.module
with
4 additions
and
4 deletions
tests/features/joinup_assessment/assessment.feature
+
3
−
3
View file @
bd1dc1fe
...
...
@@ -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
assessment
s"
And
I should not see the link
"My
submission
s"
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
assessment
s"
And
I should not see the link
"My
submission
s"
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
assessment
s"
And
I should see the link
"My
submission
s"
And
I should not see the text
"There's are no published assessment reports yet. You can add one by filling this questionnaire"
This diff is collapsed.
Click to expand it.
web/modules/custom/joinup_assessment/joinup_assessment.module
+
1
−
1
View file @
bd1dc1fe
...
...
@@ -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
assessment
s'
),
'#title'
=>
t
(
'My
submission
s'
),
'#url'
=>
Url
::
fromUserInput
(
'/collection/assessments/assessment-reports/questionnaire/submissions'
),
'#attributes'
=>
[
'class'
=>
[
'm-3'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment