Skip to content

Commit 5dd3cc6

Browse files
committed
small text fix post QA check
1 parent f0e945b commit 5dd3cc6

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

app/views/manageAgents/AgentOverviewView.scala.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@
6161
section = Some(messages("manageAgents.agentDetails.caption"))
6262
))
6363

64-
@p(messages("manageAgents.agentOverview.info.text"))
64+
65+
@{maybeSummaryList match {
66+
case Some(summary) => p(messages("manageAgents.agentOverview.nonZeroAgents.info.text"))
67+
case None => p(messages("manageAgents.agentOverview.noAgents.info.text"))
68+
}}
6569

6670
@paginationInfoText.map(p(_))
6771

conf/messages.en

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ unauthorised.heading = You can’t access this service with this account
5555
manageAgents.removeAgent.title = Manage agents – Delete agent
5656
manageAgents.removeAgent.heading = Are you sure you want to remove {0}?
5757

58-
manageAgents.agentOverview.info.text = Any agents added can be linked to a purchaser within ‘About the purchaser’.
59-
manageAgents.agentOverview.noAgents.text = You have no agents listed.
60-
manageAgents.agentOverview.remove.visuallyHidden = Change {0}
61-
manageAgents.agentOverview.title = Manage Agents - Agent Details
62-
manageAgents.agentDetails.heading = Agent details
63-
manageAgents.agentDetails.caption = Manage agents
64-
manageAgents.agentDetails.addAgentButtonText = Add an Agent
65-
manageAgents.agentDetails.summaryInfo.text = Showing <b>{0}</b> to <b>{1}</b> of <b>{2}</b> records
66-
manageAgents.agentDetails.limitReached = Currently you cannot add any more agents as the limit of 25 agents has been reached. If you wish to add another agent you will have to delete one of your existing agents.
58+
manageAgents.agentOverview.noAgents.info.text = Any agents added can be linked to a purchaser within ‘About the purchaser’.
59+
manageAgents.agentOverview.nonZeroAgents.info.text = The agents below can be linked to a purchaser within ‘About the purchaser’.
60+
manageAgents.agentOverview.noAgents.text = You have no agents listed.
61+
manageAgents.agentOverview.remove.visuallyHidden = Change {0}
62+
manageAgents.agentOverview.title = Manage Agents - Agent Details
63+
manageAgents.agentDetails.heading = Agent details
64+
manageAgents.agentDetails.caption = Manage agents
65+
manageAgents.agentDetails.addAgentButtonText = Add an Agent
66+
manageAgents.agentDetails.summaryInfo.text = Showing <b>{0}</b> to <b>{1}</b> of <b>{2}</b> records
67+
manageAgents.agentDetails.limitReached = Currently you cannot add any more agents as the limit of 25 agents has been reached. If you wish to add another agent you will have to delete one of your existing agents.

0 commit comments

Comments
 (0)