Skip to content

Commit

Permalink
[master][#1513][templates][xs]: Fix for semi-logged-in state.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Feb 2, 2012
1 parent 11a4302 commit ff90b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/layout_base.html
Expand Up @@ -247,7 +247,7 @@ <h3 class="widget-title">Meta</h3>
// later use will add offsets with leading '/' so ensure no trailing slash
CKAN.SITE_URL = CKAN.SITE_URL.replace(/\/$/, '');
$(document).ready(function() {
var ckan_user = $.cookie("ckan_display_name");
var ckan_user = '${c.user}';
if (ckan_user) {
$(".ckan-logged-out").hide();
$(".ckan-logged-in").show();
Expand Down

0 comments on commit ff90b3f

Please sign in to comment.