warning for missing config file. auto-config works good enough
[phorkie.git] / data / templates / base.htm
index 8074938fa52d5552167b3a41b9bb3c5f54f14169..efc9e3b7f92e9b6757ef47a0dbddfc9eecefd9b8 100644 (file)
@@ -10,6 +10,9 @@
   {% if css %}
   <link rel="stylesheet" href="{{css}}"/>
   {% endif %}
+  {% if iconpng %}
+  <link rel="shortcut icon" href="{{iconpng}}" type="image/png"/>
+  {% endif %}
   <title>{% block title %}{% endblock %} - {{title}}</title>
   <script src="js/jquery.js"></script>
   <script src="js/bootstrap.min.js"></script>
@@ -42,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">
@@ -83,7 +92,7 @@
   <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>
  </body>