                     <th>Время попытки</th>
                     <th>Результат</th>
                     <th>Язык</th>
-                    <th>Время</th>
-                    <th>Память</th>
+                    <th><span title="(сек)">Время</span></th>
+                    <th><span title="ОЗУ (МБ)">Память</span></th>
                     <th>&nbsp;</th>
                     <th>&nbsp;</th>
                     {if props.handleDiffClick

                    if submit._id == props.activeId
                        cl += " " + styles.active
                    time = maxVal(submit, "time")
                    mem = maxVal(submit, "max_memory_used")
                    <tr key={submit._id} className={cl}>
                        <td>{moment(submit.time).format('YYYY-MM-DD HH:mm:ss')}</td>
                        <td>{message}</td>
                        <td>{submit.language}</td>
                        <td>{if time? then time / 1000 else ""}</td>
                        <td>{mem || ""}</td>
                        <td>{submit.comments?.length && <span title="Есть комментарии"><FontAwesome name="comment"/></span> || ""}</td>
                        <td><a onClick={props.handleSubmitClick(submit)} href="#">Подробнее</a></td>
                        {if props.handleDiffClick
                            <td>
                                <span onClick={props.handleDiffClick(0, submit)} href="#">

import outcomeToText from '../lib/outcomeToText'

import styles from './SubmitListTable.css'

LANGUAGE_ABBREVIATED = 
    "Python 3" : "Py3"
    "Free Pascal 3" : "FreePas"
    "PascalABC 3" : "PasABC"
    "GNU C++" : "C++"
    "GNU C" : "C"
    "Borland Delphi" : "Delphi"
    "Java JDK" : "Java"
    "PHP": "PHP"
    "Python 2" : "Py2"
    "Perl" : "Perl"
    "Mono C#" : "C#"
    "Ruby" : "Ruby"
    "Haskell GHC" : "Haskell"
    "FreeBASIC" : "FreeBASIC"
    "GNU C++ / sanitizer" : "C++/sanitizer"


maxVal = (submit, field) ->
    res = -1
