]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/base.html
fireinfo: Show total amount of profiles in database
[ipfire.org.git] / src / templates / base.html
index 5b0ad327bc915761580e85158e789e3e888c1dfc..3a56f88c3ed5749f055e36cc668620deed8d5aca 100644 (file)
 
                                                <div class="collapse navbar-collapse" id="navbar">
                                                        <ul class="navbar-nav ml-auto">
+                                                               {% if current_user and current_user.is_staff() %}
+                                                                       <li class="nav-item">
+                                                                               <a class="nav-link {% if request.path.startswith("/admin") %}active{% end %}" href="/admin">
+                                                                                       {{ _("Admin") }}
+                                                                               </a>
+                                                                       </li>
+                                                               {% end %}
+
                                                                <li class="nav-item">
                                                                        <a class="nav-link {% if request.path.startswith("/vendors") %}active{% end %}" href="/vendors">
                                                                                {{ _("Vendors") }}
                                                <div class="container">
                                                        <div class="row flex-lg-row-reverse">
                                                                <div class="col-12 col-lg-6 text-center text-lg-right">
-                                                                       {% if not current_user and hostname in ("blog.ipfire.org", "nopaste.ipfire.org", "wiki.ipfire.org") %}
+                                                                       {% if not current_user and hostname in ("blog.ipfire.org", "fireinfo.ipfire.org", "nopaste.ipfire.org", "wiki.ipfire.org") %}
                                                                                <a href="/login">{{ _("Login") }}</a>
                                                                        {% elif current_user %}
                                                                                <p class="mb-0">