can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20423: LJSUP-10220: remove ban link and draw it...

Committer: dpetrov
LJSUP-10220: remove ban link and draw it as a text
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-10-24 13:56:22 UTC (rev 20422)
+++ trunk/htdocs/js/contextualhover.js	2011-10-24 14:03:16 UTC (rev 20423)
@@ -159,9 +159,9 @@
 					'{{/each}}' +
 					'{{if showBanOptions }}' +
 					'<ul class="b-contextualhover-options">' +
-						'{{if reportBot}}<li>${reportBot.text}</li>{{/if}}' +
+						'{{if reportBot}}<li><a href="${reportBot.url}">${reportBot.text}</a></li>{{/if}}' +
 						'<li class="b-contextualhover-options-ban">' +
-							'<p><a href="${banUsersLink.url}">${banUsersLink.text}</a>:</p>' +
+							'<p>${banUsersLink.text}:</p>' +
 							'{{if banCheckboxes}}<div class="b-contextualhover-options-wrap">' +
 								'{{each banCheckboxes}}' +
 								'<p><label><input type="checkbox" class="input-checkbox ${$value.className}" {{if $value.checked}}checked{{/if}} /> ${$value.label}</label></p>' +

Tags: can3p, dpetrov, js, livejournal
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