{{_("Quick links:")}} {% for mi in settings.SITE.get_quicklinks(ar).items %} [{{E.tostring(ar.window_action_button(mi.bound_action,icon_name=None))}}] {% endfor %} {% if settings.SITE.plugins.extjs.autorefresh_seconds %} autorefresh {% endif %} refresh
{{_("Hi, %(first_name)s!") % dict(first_name=ar.get_user().first_name)}} {% for msg in settings.SITE.get_welcome_messages(ar) %} {{ E.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 %}{{_("Welcome to the %s site.") % site.title or site.verbose_name}} {% if site.verbose_name and site.url and site.version %} {{_("We are running %(name)s version %(version)s") % dict( name=E.tostring(E.a(site.verbose_name, href=site.url)), version=site.version)}} {% endif %}
{% endif %} {% if site.user_model %} {% if site.is_demo_site %}{{_("This demo site has %d users:") % site.modules.users.UsersOverview.request().get_total_count()}}
{{as_ul('users.UsersOverview')}}{{_("You will now probably want to")}} {{_("log in")}} {{_("using one of these names.")}} {{_("The password is the same for all of them: \"1234\".")}}
{% else %}{{_("You will now probably want to use the Log in button in the upper right corner and log in.")}}
{% endif %} {% endif %} {{ self.feedback() }} {% endblock %} {% endif %} {% block admin_main_items %} {% for T in settings.SITE.get_admin_main_items(ar) %} {% if E.iselement(T) %}{{E.tostring(T)}}{% else %} {% if T.default_action.get_view_permission(ar.get_user().profile) %}