/**
 * Created by junzhe on 2014/10/13.
 */
$(window).on("action:ajaxify.end", function(e, t) {
    if (t.url.indexOf("login")>=0 || t.url.indexOf("register")>=0 ) {
        var i = $("ul.alt-logins li.imleagues");
        i.css("display", "none");
        $('<a href="' + RELATIVE_PATH + '/auth/imleagues" class="btn btn-default"><i class="fa fa-external-link"></i> Login via IMLeagues</a>').insertAfter(i)
    }
});

@@ -171,18 +171,17 @@
     var 
-i 
+a
 = $(%22ul.
@@ -203,16 +203,18 @@
 mleagues
+ a
 %22);%0A    
@@ -221,192 +221,141 @@
     
-i.css(%22display%22, %22none%22);%0A        $('%3Ca href=%22' + RELATIVE_PATH + '/auth/imleagues%22 class=%22btn btn-default%22%3E%3Ci class=%22fa fa-external-link%22%3E%3C/i%3E Login via IMLeagues%3C/a%3E').insertAfter(i)
+a.html('%3Cimage src=%22http://www.imleagues.com/images/imleagues-logo-hover.png%22%3E Login via IMLeagues');%0A%09a.addClass(%22btn btn-primary%22);
 %0A   

change for nodebb v0.7.x