Skip to content

Commit

Permalink
Revert analysis page changes (#2055) (#2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
riccio82 authored Jun 3, 2021
1 parent fe4e520 commit d3fc87c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/css/sass/commons/_analyze.scss
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ body.analyze {
display: flex;
align-items: center;
justify-content: center;
width: 50.333%;
width: 33.333%;
border-right: 1px solid #d7d8dc;
/*border-left: 1px solid #d7d8dc;*/
/*margin-left: -1px;*/
Expand Down
18 changes: 18 additions & 0 deletions public/js/cat_source/es6/components/analyze/AnalyzeChunksResume.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ class AnalyzeChunksResume extends React.Component {
<div className="title-total-words ttw">
<div>{chunk.total_raw_word_count_print}</div>
</div>
<div className="title-standard-words tsw">
<div>{chunkAnalysis.get('standard_word_count').get(1)}</div>
</div>
<div
className="title-matecat-words tmw"
ref={(container) =>
Expand Down Expand Up @@ -411,6 +414,10 @@ class AnalyzeChunksResume extends React.Component {
{/*<div className="cell-label">Total words:</div>*/}
<div>{total_raw}</div>
</div>
<div className="title-standard-words tsw">
{/*<div className="cell-label">Other CAT tool</div>*/}
<div>{total_standard}</div>
</div>
<div
className="title-matecat-words tmw"
ref={(container) =>
Expand Down Expand Up @@ -494,6 +501,9 @@ class AnalyzeChunksResume extends React.Component {
<div className="title-total-words ttw">
<div>0</div>
</div>
<div className="title-standard-words tsw">
<div>0</div>
</div>
<div className="title-matecat-words tmw">
<div>0</div>
</div>
Expand Down Expand Up @@ -580,6 +590,14 @@ class AnalyzeChunksResume extends React.Component {
<h5>Total character count</h5>
</div>
)}
<div className="title-standard-words">
<h5>
Industry weighted
<span data-tooltip="As counted by other CAT tools">
<i className="icon-info icon" />
</span>
</h5>
</div>
<div className="title-matecat-words">
<h5>MateCat weighted</h5>
</div>
Expand Down

0 comments on commit d3fc87c

Please sign in to comment.