Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
ed47e54d
Commit
ed47e54d
authored
Jul 02, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an user comment to typo approving form
parent
2e1ad852
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.jsx
cp/javascript/src/components/Typo/index.jsx
+2
-2
No files found.
cp/javascript/src/components/Typo/index.jsx
View file @
ed47e54d
...
...
@@ -64,7 +64,7 @@ export default class Typo extends Component {
_highlightTypoInContext
()
{
const
original
=
this
.
_escapeHtml
(
this
.
typo
.
originalText
);
const
corrected
=
this
.
_escapeHtml
(
this
.
typo
.
correctedText
);
const
comment
=
this
.
_escapeHtml
(
this
.
typo
.
comment
);
const
context
=
this
.
_escapeHtml
(
this
.
typo
.
context
);
// Экранируем символы, которые мешают использовать регулярные выражения
...
...
@@ -137,7 +137,7 @@ export default class Typo extends Component {
</
div
>
</
CardBody
>
<
CardFooter
>
<
p
>
Тут должен отображаться комментарий
</
p
>
<
p
>
Комментарий: "
{
typo
.
comment
}
"
</
p
>
Добавлена
<
small
>
{
typo
.
date
}
</
small
>
</
CardFooter
>
</
Card
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment