Remove link to #, add unlimited_player_transfer_distance to announce
authorproller <proler@github.com>
Tue, 3 Dec 2013 15:48:43 +0000 (19:48 +0400)
committerproller <proler@github.com>
Tue, 3 Dec 2013 15:48:43 +0000 (19:48 +0400)
src/serverlist.cpp
util/master/servers.jst
util/master/style.css

index f9e3c6734d86485737ba30e3da81dcce2d9314f7..97a7b0bf7d965db02e5c4edd64ec01c52f2616a9 100644 (file)
@@ -226,6 +226,7 @@ void sendAnnounce(std::string action, const std::vector<std::string> & clients_n
                server["rollback"]      = g_settings->getBool("enable_rollback_recording");
                server["liquid_finite"] = g_settings->getBool("liquid_finite");
                server["mapgen"]        = g_settings->get("mg_name");
+               server["names"]         = g_settings->getBool("unlimited_player_transfer_distance");
                server["mods"]          = Json::Value(Json::arrayValue);
                for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) {
                        server["mods"].append(m->name);
index 3db07d05a49d08b222539ff95e8c35650ce6d62c..26cbd04347cd7b3493a868508a13ac6d7e952992 100644 (file)
@@ -69,5 +69,5 @@
        {{~}}
 </table>
 {{? master.min_clients || master.limit}}
-       <a href="#" onclick="delete master.min_clients; delete master.limit; get();">More...</a>
+       <a class="clickable" onclick="delete master.min_clients; delete master.limit; get();">More...</a>
 {{?}}
index 76a4f998d1d78c99cee9c4ded8784c1831f84e80..13bcf2979257c416d9e6d3ae85c235e31737584d 100644 (file)
@@ -28,3 +28,8 @@ td:hover .mts_hover_list {
        text-decoration: underline;
        text-decoration-style: dashed;
 }
+
+.clickable {
+       text-decoration: underline;
+       cursor: pointer;
+}
\ No newline at end of file