Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[ljcom] r11088: LJSUP-9998: Need add new variable in con...

Committer: amyshkin
LJSUP-9998: Need add new variable in contextual popup
U   trunk/htdocs/js/livejournal-local.js
Modified: trunk/htdocs/js/livejournal-local.js
===================================================================
--- trunk/htdocs/js/livejournal-local.js	2011-10-12 22:06:02 UTC (rev 11087)
+++ trunk/htdocs/js/livejournal-local.js	2011-10-13 08:14:17 UTC (rev 11088)
@@ -3,11 +3,11 @@
 	var content = '';
 	if (userdata.is_person) {
 		if (userdata.is_online !== null) {
-			content = '<a href="' + Site.siteroot + '/chat/">LJ Talk</a>';
+			content = '<a href="' + Site.siteroot + '/chat/">' + userdata.ml_ljtalk + '</a>';
 			if (userdata.is_online) {
-				content += " Online";
+				content += " " + userdata.ml_online;
 			} else if (userdata.is_online == '0') {
-				content += " Offline";
+				content += " " + userdata.ml_offline;
 			}
 		}
 	}

Tags: amyshkin, js, ljcom, zilogic
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments