{% extends "base.html" %}

{% block content %}
<h1>{{project.name}}</h1>
        <p>{{project.description}}</p>

        <p>{{collections}}</p>
{% endblock content %}
{% extends "base.html" %}

{% block content %}
<div class="col-md-4 panel">
    <h1>{{project.name}}</h1>
    <h4><i>By {{project.owner}}</i></h4>
    <p>{{project.description}}</p>
    <hr>

    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">
            Collections <a href="{% url 'collection:create' %}" class="pull-right"><i class="fa fa-plus"></i></a>
        </div>
        <div class="panel-body">
            <p>Organise your Project's datapoints into collections based on theme, source, or anything!</p>
        </div>
        <div class="list-group">
            {% for collection in collections %}
            <a href="{% url 'collection:detail' slug=collection.slug %}" class="list-group-item">
                <h4 class="list-group-item-heading">{{ collection.name }}<span class="badge pull-right">45</span></h4>
                <p class="list-group-item-text">{{ collection.description }}</p>
            </a>
            {% empty %}
            <p>There are no collections yet</p>
            {% endfor %}
        </div>
    </div>
</div>

<div class="col-md-8 panel">
    <img src="http://placehold.it/800x500"></img>
</div>
{% endblock content %}
Work done to project detail page
Work done to project detail page
