diff --git a/src/plugins/comment_paragraph/hotspot/article-content/article-content.component.ts b/src/plugins/comment_paragraph/hotspot/article-content/article-content.component.ts index 2230fb3..2feffec 100644 --- a/src/plugins/comment_paragraph/hotspot/article-content/article-content.component.ts +++ b/src/plugins/comment_paragraph/hotspot/article-content/article-content.component.ts @@ -9,4 +9,8 @@ import {Hotspot} from "../../../../app/hotspot/hotspot.decorator"; export class CommentParagraphArticleContentHotspotComponent { @Input() article: noosfero.Article; + + isDiscussion() { + return this.article.type === "CommentParagraphPlugin::Discussion"; + } } diff --git a/src/plugins/comment_paragraph/hotspot/article-content/article-content.html b/src/plugins/comment_paragraph/hotspot/article-content/article-content.html index 810f9b3..936ae69 100644 --- a/src/plugins/comment_paragraph/hotspot/article-content/article-content.html +++ b/src/plugins/comment_paragraph/hotspot/article-content/article-content.html @@ -1,4 +1,4 @@ -
+
{{"comment-paragraph-plugin.discussion.header" | translate}} {{"comment-paragraph-plugin.discussion.editor.start_date.label" | translate}} -- libgit2 0.21.2