footer.html.erb
311 Bytes
<script>
var address = '/profile/<%=escape_javascript profile.identifier %>/join';
var banner = $('div.banner-div');
banner.children('a').attr('href', address);
banner.children('a').addClass('join-community');
$('#profile-header img').wrap('<a href="/<%=escape_javascript profile.identifier %>">');
</script>