+ {% if not funding_no_show_current %}
+ {% current_offer as current_offer %}
+ {{ current_offer.if }}
+ {% ssi_include 'funding_top_bar' pk=current_offer %}
+ {{ current_offer.endif }}
+ {% endif %}
+
+ <div id="header-wrapper">
+ <header id="main">
+ <a href="/" id="logo">
+ <img src="{% static 'img/logo-neon.png' %}" alt="Wolne Lektury" />
+ </a>
+
+ <p id="user-info">
+ {% user_username as user_username %}
+ {% user_is_staff as user_is_staff %}
+ {{ user_username.if }}{% trans "Welcome" %}, <span class="hidden-box-wrapper">
+ <a href="{% url 'user_settings' %}" class="hidden-box-trigger">
+ <strong>{{ user_username }}</strong>
+ </a>
+ <span id="user-menu" class="hidden-box">
+ <a href="{% url 'account_set_password' %}">{% trans "Password" %}</a><br/>
+ <a href="{% url 'account_email' %}">{% trans "E-mail" %}</a><br/>
+ <a href="{% url 'socialaccount_connections' %}">{% trans "Social accounts" %}</a><br/>
+ </span>
+ </span> | <a href="{% url 'social_my_shelf' %}" id="user-shelves-link">{% trans "My shelf" %}</a>
+ {{ user_username.endif }}
+ {{ user_is_staff.if }} | <a href="/admin/">{% trans "Administration" %}</a>
+ {{ user_is_staff.endif }}
+ {{ user_username.if }} | <a href="{% url 'logout' %}?next={% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
+ {{ user_username.else }}
+ <a href="{% url 'login' %}?next={{ request.path }}" id="login" class="ajaxable">{% trans "Sign in" %}</a> / <a href="{% url 'register' %}?next={{ request.path }}" id="register" class="ajaxable">{% trans "Register" %}</a>
+ {{ user_username.endif }}
+ </p>