Changeset - 2ce3da675de6
[Not reviewed]
default
1 1 0
Branko Majic (branko) - 11 years ago 2013-03-16 23:27:36
branko@majic.rs
Added message when no projects are available to main index page. Removed unused template file.
2 files changed with 6 insertions and 9 deletions:
0 comments (0 inline, 0 general)
conntrackt/templates/conntrackt/index.html
Show inline comments
 
{% extends "conntrackt/template.html" %}
 

	
 
{# For html_link #}
 
{% load conntrackt %}
 

	
 
{% block content %}
 
<h1>Welcome to Conntrackt</h1>
 
<div>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.</div>
 
<div>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.</div>
 
<hr>
 
<div class="row">
 
{% if projects %}
 
<div class="row">
 
  {% for project in projects %}
 
  <div class="span4">
 
    <div class="well">{% include "conntrackt/project_widget.html" %}</div>
 
  </div>
 
  {% endfor %}
 
{% else %}
 
  <div class="span12">Currently there are no project defined in the database. Use the administration pages in order to add a new project.</div>
 
{% endif %}
 
</div>
 
{% endif %}
 

	
 
{% endblock %}
 

	
conntrackt/templates/conntrackt/link.html
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)