@@ -13,7 +13,7 @@ import Callout from '../../components/widgets/Callout';
1313import { AssignmentSolutionNavigation } from '../../components/layout/Navigation' ;
1414import ResourceRenderer from '../../components/helpers/ResourceRenderer' ;
1515import PlagiarismCodeBoxWithSelector from '../../components/Solutions/PlagiarismCodeBoxWithSelector' ;
16- import { BanIcon , PlagiarismIcon , UserIcon } from '../../components/icons' ;
16+ import Icon , { BanIcon , PlagiarismIcon , UserIcon } from '../../components/icons' ;
1717import UsersNameContainer from '../../containers/UsersNameContainer' ;
1818
1919import { fetchRuntimeEnvironments } from '../../redux/modules/runtimeEnvironments' ;
@@ -227,9 +227,14 @@ class SolutionPlagiarisms extends Component {
227227 className = { 'clickable' + ( plagiarismSource === selectedSource ? ' table-primary' : '' ) }
228228 onClick = { ( ) => this . selectPlagiarismSource ( plagiarismSource ) } >
229229 < td className = "text-nowrap" >
230- < UsersNameContainer userId = { plagiarismSource } noAvatar noAutoload />
230+ < Icon icon = "person-dots-from-line" className = "text-muted" />
231231 </ td >
232232 < td className = "text-nowrap" >
233+ < strong >
234+ < UsersNameContainer userId = { plagiarismSource } noAvatar noAutoload />
235+ </ strong >
236+ </ td >
237+ < td className = "text-nowrap text-muted small" >
233238 < FormattedMessage
234239 id = "app.solutionPlagiarisms.selectSourceTable.files"
235240 defaultMessage = "{count} {count, plural, one {file} other {files}}"
@@ -238,19 +243,19 @@ class SolutionPlagiarisms extends Component {
238243 </ td >
239244
240245 { plagiarisms [ plagiarismSource ] . length === 0 ? (
241- < td colSpan = { 2 } className = "text-nowrap" >
246+ < td colSpan = { 2 } className = "text-nowrap text-muted small " >
242247 { plagiarisms [ plagiarismSource ] [ 0 ] . similarity * 100 } %
243248 </ td >
244249 ) : (
245250 < >
246- < td className = "text-nowrap" >
251+ < td className = "text-nowrap text-muted small " >
247252 < FormattedMessage
248253 id = "app.solutionPlagiarisms.selectSourceTable.max"
249254 defaultMessage = "max"
250255 />
251- : { Math . max ( plagiarisms [ plagiarismSource ] . map ( p => p . similarity ) ) * 100 } %
256+ : { Math . max ( ... plagiarisms [ plagiarismSource ] . map ( p => p . similarity ) ) * 100 } %
252257 </ td >
253- < td className = "text-nowrap" >
258+ < td className = "text-nowrap text-muted small " >
254259 < FormattedMessage
255260 id = "app.solutionPlagiarisms.selectSourceTable.avg"
256261 defaultMessage = "average"
0 commit comments