mirror of https://github.com/vector-im/riot-web
Merge pull request #817 from turt2live/travis/rw-3626
Change presence status labels to 'for' instead of 'ago'pull/21833/head
commit
ba0bb677c8
|
@ -75,7 +75,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
if (this.props.activeAgo >= 0) {
|
if (this.props.activeAgo >= 0) {
|
||||||
var ago = this.props.currentlyActive ? "now" : (this.getDuration(this.props.activeAgo) + " ago");
|
var ago = this.props.currentlyActive ? "" : "for " + (this.getDuration(this.props.activeAgo));
|
||||||
// var ago = this.getDuration(this.props.activeAgo) + " ago";
|
// var ago = this.getDuration(this.props.activeAgo) + " ago";
|
||||||
// if (this.props.currentlyActive) ago += " (now?)";
|
// if (this.props.currentlyActive) ago += " (now?)";
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue