Lead users to setup check page when no config file given
[phorkie.git] / data / templates / base.htm
index 75f9d180b5fc58f79a7760f39ae7f8cc2c6d01aa..86c79e6e1bb0801727025fb904b0ceb4fe504baa 100644 (file)
   <div class="container">
    <div class="row">
     <div class="span9">
+     {% if suggestSetupCheck %}
+     <div class="alert alert-error">
+       It seems phorkie is not setup properly.
+       Visit the <a href="setup">setup check page</a> for more information.
+     </div>
+     {% endif %}
      {% block content %}{% endblock %}
     </div>
     <div class="span3">
@@ -86,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>