Explorar el Código

show UserPageLink in Revision component

Yuki Takei hace 7 años
padre
commit
a70d6a30bd
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/client/js/components/PageHistory/Revision.jsx

+ 2 - 1
src/client/js/components/PageHistory/Revision.jsx

@@ -2,6 +2,7 @@ import React from 'react';
 import PropTypes from 'prop-types';
 import PropTypes from 'prop-types';
 
 
 import UserDate from '../Common/UserDate';
 import UserDate from '../Common/UserDate';
+import UserPageLink from '../Common/UserPageLink';
 import UserPicture from '../User/UserPicture';
 import UserPicture from '../User/UserPicture';
 
 
 export default class Revision extends React.Component {
 export default class Revision extends React.Component {
@@ -63,7 +64,7 @@ export default class Revision extends React.Component {
         </div>
         </div>
         <div className="m-l-10">
         <div className="m-l-10">
           <div className="revision-history-author">
           <div className="revision-history-author">
-            <strong>{author.username}</strong>
+            <strong><UserPageLink user={author}></UserPageLink></strong>
           </div>
           </div>
           <div className="revision-history-meta">
           <div className="revision-history-meta">
             <p>
             <p>