{{_("This server is running in READONLY mode.")}}
{% endif %} {% if user.is_authenticated %} {% block hello_user %} {% if not site.plugins.system.use_dashboard_layouts %}{{_("Quick links:")}} {% for ql in site.get_quicklink_items(user.user_type) %} [{{tostring(ar.menu_item_button(ql))}}] {% endfor %} {% if ar.renderer.front_end.autorefresh_seconds %} autorefresh {% endif %} [{{_("Refresh")}}]
{% endif %}{{_("Hi, %(user)s!") % dict(user=user)}} {% for msg in site.get_welcome_messages(ar) %} {{ tostring(msg) }} {% endfor %}
{% block feedback %} {% if site.is_demo_site %}{{_("This is a Lino demo site.")}} {{_("Try also the other demo sites.")}} {{_("Your feedback is welcome to %s or directly to the person who invited you.") % '{0}'.format(settings.SITE.help_email)}} {% if site.the_demo_date %} {{_("We are running with simulated date set to {0}.").format( fdf(site.the_demo_date))}} {% endif %}
{% endif %} {% endblock %} {% endblock %} {% else %} {% block hello_anonymous %} {% if site.admin_prefix %}{{_("You have entered the admin section.")}} {{_("Unlike the web content section there is now a GUI menu bar in the upper part of the screen.")}}
{% else %}{% if site.title %} {{_("Welcome to the %s site.") % site.title}} {% if site.verbose_name and site.url and site.version %} {{_("We are running %(name)s version %(version)s") % dict( name=tostring(E.a(str(site.verbose_name), href=site.url)), version=site.version)}} {% endif %} {% endif %}
{% endif %} {{ self.feedback() }} {% if site.get_auth_method() %}{{_("You will now probably want to {}.").format( tostring(ar.window_action_button( site.models.about.About.get_action_by_name('sign_in'), label=_("sign in"), icon_name=None)))}} {% if site.plugins.users.online_registration and not user.user_type.readonly %} {{_("Or {} as a new user.").format( tostring(ar.window_action_button( site.models.users.Register.insert_action, label=_("register"), icon_name=None)))}} {% endif %} {% if site.is_installed('social_auth') %} {{_("Or sign in using social auth:")}}
{% endif %} {% if site.social_auth_backends %} {{_("Or sign in using ")}} {% for e in site.get_social_auth_links() %} {{tostring(e)}} {% endfor %} {% endif %} {% if site.is_demo_site %}{{_("This demo site has %d users:") % site.models.users.UsersOverview.request().get_total_count()}}
{{as_ul('users.UsersOverview')}}{{_("The password is the same for all of them: \"1234\".")}}
{% endif %} {% endif %} {% endblock %} {% endif %} {{ after_welcome }} {% block admin_main_items %} {% if not ar.renderer.hide_dashboard_items %} {% for i in user.get_preferences().dashboard_items %} {{''.join(i.render(ar))}} {% endfor %} {% endif %} {% endblock %}