<% if current_user.andand.is_active %>
<% elsif !current_user %> <%# anonymous %>
<% if (@name_link or @object) and (project_breadcrumbs.any?) %>
<% end %>
<% end %>
<%= render partial: 'browser_unsupported' %><%# requires JS support below %>
<%= render partial: 'getting_started/getting_started_popup' %>
<%= yield %>
<%= yield :footer_html %>
<% if current_user and !current_user.prefs[:getting_started_shown] and
!request.url.include?("/profile") and
!request.url.include?("/user_agreements") and
!request.url.include?("/inactive")%>
<%
prefs = current_user.prefs
prefs[:getting_started_shown] = Time.now
current_user.update_attributes prefs: prefs.to_json
%>
<% end %>