From e8c1ffeea76646cb8ace9daefaa97aee25f8f919 Mon Sep 17 00:00:00 2001 From: Maxi Redigonda Date: Thu, 15 Nov 2018 10:05:39 -0300 Subject: [PATCH] Adds parsing of mentions in articles from the admin panel --- .../src/app/admin/panel/articles/admin-panel-view-article.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/admin/panel/articles/admin-panel-view-article.js b/client/src/app/admin/panel/articles/admin-panel-view-article.js index d0d4fd98..bd97b333 100644 --- a/client/src/app/admin/panel/articles/admin-panel-view-article.js +++ b/client/src/app/admin/panel/articles/admin-panel-view-article.js @@ -7,6 +7,7 @@ import ArticlesActions from 'actions/articles-actions'; import SessionStore from 'lib-app/session-store'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; +import MentionsParser from 'lib-app/mentions-parser'; import DateTransformer from 'lib-core/date-transformer'; import AreYouSure from 'app-components/are-you-sure'; @@ -76,7 +77,7 @@ class AdminPanelViewArticle extends React.Component {
-
+
{i18n('LAST_EDITED_IN', {date: DateTransformer.transformToString(article.lastEdited)})}