2012-08-13 13:26:58 +00:00
|
|
|
{% if groups %}
|
2012-08-13 05:02:32 +00:00
|
|
|
var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button>发送到私信</button></div>';
|
2012-08-13 13:26:58 +00:00
|
|
|
{% else %}
|
|
|
|
var Bottom_bar = '<div id="bottom-bar"><button>发送到私信</button></div>';
|
|
|
|
{% endif %}
|
|
|
|
|
2012-08-08 09:14:04 +00:00
|
|
|
$('#wrapper').append(Bottom_bar);
|
|
|
|
$('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15});
|
|
|
|
$('#recommend').click(function() {
|
|
|
|
$('#recommend-form').modal({appendTo: '#main'});
|
|
|
|
});
|
2012-08-11 03:20:26 +00:00
|
|
|
$('#main-panel').css('margin-bottom', '28px');
|
2012-08-10 06:54:54 +00:00
|
|
|
$('#footer').addClass('hide');
|