adapt placeholder text for project description widget

pull/7675/head
ulferts 5 years ago
parent edbb2c3b2f
commit 86c34b5c90
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      frontend/src/app/modules/grids/widgets/project-description/project-description.component.html
  2. 2
      frontend/src/app/modules/grids/widgets/project-description/project-description.component.ts
  3. 2
      modules/grids/config/locales/js-en.yml

@ -13,6 +13,6 @@
[innerHTML]="description">
</div>
<no-results *ngIf="!hasDescription && isLoaded"
[title]="text.noResults">
[description]="text.noResults">
</no-results>
</div>

@ -41,7 +41,7 @@ export class WidgetProjectDescriptionComponent extends AbstractWidgetComponent i
public description:SafeHtml;
public text = {
noResults: this.i18n.t('js.grid.widgets.project_description.no_results'),
noResults: this.i18n.t('js.grid.widgets.project_description.no_results')
};
constructor(protected readonly i18n:I18nService,

@ -21,7 +21,7 @@ en:
no_results: 'Nothing new to report.'
project_description:
title: 'Project description'
no_results: 'No description has been written yet.'
no_results: "No description has been written yet. One can be provided in the 'Project settings'."
project_details:
title: 'Project details'
no_results: 'No custom fields have been defined for projects.'

Loading…
Cancel
Save