stable

Clone or download

Read-only

Display 'Create new campaign' button only if the user can create one

Part of story #14882: Create new campaign in new β€œTest” screen Change-Id: Ic413fd934f526d5db9555c1b8e6eabe6dd982f47

Modified Files

Name
M plugins/testplan/include/TestPlanController.php +2 βˆ’2 Go to diff View file
M plugins/testplan/include/TestPlanPresenter.php +19 βˆ’4 Go to diff View file
M plugins/testplan/include/TestPlanPresenterBuilder.php +34 βˆ’4 Go to diff View file
M plugins/testplan/include/testplanPlugin.php +6 βˆ’1 Go to diff View file
M plugins/testplan/scripts/test-plan/index.ts +6 βˆ’1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyState.test.ts +25 βˆ’3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyState.vue +11 βˆ’2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaignsHeader.test.ts +18 βˆ’4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaignsHeader.vue +5 βˆ’2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignEmptyState.test.ts.snap +2 βˆ’1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/type.ts +1 βˆ’0 Go to diff View file
M plugins/testplan/templates/test-plan.mustache +1 βˆ’0 Go to diff View file
A plugins/testplan/tests/unit/TestPlanPresenterBuilderTest.php +116 βˆ’0 Go to diff View file