diff --git a/skins/base/views/molecules/EventAsTextTile.js b/skins/base/views/molecules/EventAsTextTile.js index bb5052f4..e32ec4c5 100644 --- a/skins/base/views/molecules/EventAsTextTile.js +++ b/skins/base/views/molecules/EventAsTextTile.js @@ -18,6 +18,7 @@ limitations under the License. var React = require('react'); +var MatrixClientPeg = require("../../../../src/MatrixClientPeg"); var EventAsTextTileController = require("../../../../src/controllers/molecules/EventAsTextTile"); var TextForEvent = require("../../../../src/TextForEvent"); @@ -28,10 +29,18 @@ module.exports = React.createClass({ render: function() { var text = TextForEvent.textForEvent(this.props.mxEvent); + var timestamp = this.props.last ? : null; return ( - - {TextForEvent.textForEvent(this.props.mxEvent)} - +
+
+ +
+ { timestamp } + + + {TextForEvent.textForEvent(this.props.mxEvent)} + +
); }, });