small bug fix in logging and clearer isplay of versions
This commit is contained in:
+4
-3
@@ -1215,15 +1215,16 @@
|
|||||||
MessagesView.Dummy = React.createClass({
|
MessagesView.Dummy = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
var version = document.lastModified;
|
var version = document.lastModified;
|
||||||
var serverVersion = this.props.serverVersion ? ("Server: " + this.props.serverVersion) : null;
|
|
||||||
return (
|
return (
|
||||||
<div id="dummy-view" className={this.props.hideSelf ? 'nodisplay' : null}>
|
<div id="dummy-view" className={this.props.hideSelf ? 'nodisplay' : null}>
|
||||||
|
<div>
|
||||||
<a href="https://github.com/tinode/chat/">
|
<a href="https://github.com/tinode/chat/">
|
||||||
<img id="logo" alt="logo" src="img/logo.svg" />
|
<img id="logo" alt="logo" src="img/logo.svg" />
|
||||||
<h2>Tinode Demo Chat</h2>
|
<h2>Tinode Demo Chat</h2>
|
||||||
<p>Client: {version}</p>
|
|
||||||
<p>{serverVersion}</p>
|
|
||||||
</a>
|
</a>
|
||||||
|
<p>Client: {version}</p>
|
||||||
|
<p>Server: {this.props.serverVersion} ({HOST})</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user