When changing service name, use organisation of the service for hint

text if available. If service is not attached to any organisation yet,
use default org for the user.
This commit is contained in:
Pea Tyczynska
2020-07-02 11:56:05 +01:00
parent 0ad449883d
commit e1f1f2a9c2
2 changed files with 25 additions and 4 deletions

View File

@@ -18,11 +18,11 @@
<p class="govuk-body">Your service name should tell users what the message is about as well as who its from. For example:</p>
<ul class="govuk-list govuk-list--bullet">
<li>School admissions - {{ current_user.default_organisation.name }}</li>
<li>Electoral services - {{ current_user.default_organisation.name }}</li>
<li>Blue Badge - {{ current_user.default_organisation.name }}</li>
<li>School admissions - {{ current_service.organisation.name or current_user.default_organisation.name }}</li>
<li>Electoral services - {{ current_service.organisation.name or current_user.default_organisation.name }}</li>
<li>Blue Badge - {{ current_service.organisation.name or current_user.default_organisation.name }}</li>
</ul>
<p class="govuk-body">You should only use an acronym if your users are already familiar with it.</p>
<div class="form-group">