Automatically login to phorkie
[phorkie.git] / data / templates / base.htm
index 1dcf0fce760f1f6929d80b1867fdbb2e7ac913cb..fabfd5213de609fa4cfe4152eafde73966779e90 100644 (file)
@@ -45,7 +45,7 @@
      <ul class="nav pull-right">
       {% if identity %}
       <li>
-       <a href="user">{{name}}</a>
+       <a href="user"><img class="avatar-tiny" src="{{htmlhelper.getIconUrl(email, 20)}}" width="20" height="20" /> {{name}}</a>
       </li>
       {% endif %}
       {% if db.adapter %}
   <div class="container">
    <div class="row">
     <div class="span9">
+     {% if suggestSetupCheck %}
+     <div class="alert alert-warning">
+       No configuration file found.
+       Visit the <a href="setup">setup check page</a> for more information.
+     </div>
+     {% endif %}
      {% block content %}{% endblock %}
     </div>
     <div class="span3">
   <div class="container footer">
    <a href="//sf.net/p/phorkie/">phorkie</a>,
    the self-hosted, git-based pastebin software is available under the
-   <a href="https://sf.net/p/phorkie/">
+   <a href="http://www.gnu.org/licenses/agpl-3.0.html">
     <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
   </div>
+  {% if autologin %}
+  <script src="js/autologin.js"></script>
+  {% endif %}
  </body>
 </html>