# HG changeset patch # User Branko Majic # Date 2013-03-16 23:27:36 # Node ID 2ce3da675de6f18d1061fab2cea148db3d5c96e5 # Parent 5a89fb29aaf48564a279dff6d694a86eb8c15f1a Added message when no projects are available to main index page. Removed unused template file. diff --git a/conntrackt/templates/conntrackt/index.html b/conntrackt/templates/conntrackt/index.html --- a/conntrackt/templates/conntrackt/index.html +++ b/conntrackt/templates/conntrackt/index.html @@ -1,20 +1,23 @@ {% extends "conntrackt/template.html" %} +{# For html_link #} {% load conntrackt %} {% block content %}

Welcome to Conntrackt

-
Below you may find the list of projects that are available to you. Clicking on the project will take you to the summary page for that particular project.
+
Below you may find the list of projects that are available to you. Clicking on the project will take you to the summary page for that particular project. Clicking on an entity inside of a project will take you to the summary page of an entity.

+
{% if projects %} -
{% for project in projects %}
{% include "conntrackt/project_widget.html" %}
{% endfor %} +{% else %} +
Currently there are no project defined in the database. Use the administration pages in order to add a new project.
+{% endif %}
-{% endif %} {% endblock %} diff --git a/conntrackt/templates/conntrackt/link.html b/conntrackt/templates/conntrackt/link.html deleted file mode 100644 --- a/conntrackt/templates/conntrackt/link.html +++ /dev/null @@ -1,6 +0,0 @@ -{% load url from future %} -{% if identifier %} -{{title}} -{% else %} -{{title}} -{% endif %}