Skip to content

Commit 2d8f8b8

Browse files
committed
add placeholder
1 parent e22e2a0 commit 2d8f8b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/ideation/components/ideabox/ideabox.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
</div>
210210
</div>
211211
<a class="idea_content" (click)="(!idea.report.id)? goToView(): ''">
212-
<div class="statement" [innerHTML]="idea.statement"></div>
212+
<div class="statement" [innerHTML]="idea.statement || 'COMPONENTS.IDEABOX.UNTITLED_IDEA' | translate"></div>
213213
<!--button class="btn_like_wrap" [ngClass]="{selected: this.idea.votes.up.selected, disabled: !canVote()}" (click)="$event.preventDefault();$event.stopPropagation();doIdeaVote(1);">
214214
<div class="btn_medium_plain btn_like">
215215
<div class="icon">

src/assets/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@
472472
"OPTION_ADD_TO_FOLDER": "Add to folder",
473473
"OPTION_REPORT": "Report to admin",
474474
"OPTION_REMOVE": "Remove idea",
475+
"UNTITLED_IDEA": "Untitled idea",
475476
"DRAFT_UPDATED_AT": "Last updated: {{date}}",
476477
"REPLIES": "{{count}} replies",
477478
"NOTIFICATION_TITLE": "This idea was hidden by a moderator",

0 commit comments

Comments
 (0)