1111 < div class ="flex-grow-1 mb-3 ">
1212 < div class ="d-none d-sm-inline-block ">
1313 < h1 > {{ project.name }}</ h1 >
14- {% include 'partials/activity-info-table -bs4.html' %}
14+ {% include 'partials/activity-info-short -bs4.html' %}
1515 </ div >
1616 < div class ="d-flex justify-content-center d-sm-none ">
1717 < img class ="w-25 m-2 " src ="{% static 'images/default-badge.png' %} ">
@@ -20,7 +20,7 @@ <h1>{{ project.name }}</h1>
2020 < h1 class ="justify-content-center "> {{ project.name }}</ h1 >
2121 </ div >
2222 < div class ="d-flex justify-content-center d-sm-none ">
23- {% include 'partials/activity-info-table -bs4.html' %}
23+ {% include 'partials/activity-info-short -bs4.html' %}
2424 </ div >
2525 </ div >
2626 < div class ="d-none d-sm-inline-block w-25 ">
@@ -44,23 +44,11 @@ <h2>Project membership</h2>
4444 You'll review terms and permissions before finalizing authorization.
4545 </ div >
4646 </ div >
47- {% if project.request_username_access or project.requested_sources.exists %}
47+ {% if requests_permissions %}
4848 < h3 > Permissions</ h3 >
49- < div class ="row ">
50- < div class ="col ">
51- < b > Requested permissions:</ b >
52- </ div >
53- < div class ="col ">
54- {% for source_project in project.requested_sources.all %}
55- < a href ="{% url 'activity-management' source_project.slug %} ">
56- {{ source_project.name }}</ a > < br >
57- {% endfor %}
58- {% if project.request_username_access %}
59- Username
60- {% endif %}
61- </ div >
62- </ div >
49+ {% include 'partials/activity-permissions-bs4.html' %}
6350 {% endif %}
51+ < hr class ="d-md-none ">
6452 </ div >
6553 < div class ="col-md ">
6654 {% if requesting_projects %}
@@ -69,7 +57,7 @@ <h2>Projects & studies</h2>
6957 You can use & share your data from {{ project.name }} with the
7058 following other projects:
7159 </ p >
72- < div class ="d-flex flex-wrap p-2 mb-2 ">
60+ < div class ="d-flex flex-wrap p-2 ">
7361 {% for req_project in requesting_projects %}
7462 < div class ="w-25 ">
7563 < div class ="d-flex justify-content-center ">
@@ -83,6 +71,7 @@ <h2>Projects & studies</h2>
8371 </ div >
8472 {% endfor %}
8573 </ div >
74+ < hr >
8675 {% endif %}
8776 {% if notebooks %}
8877 < h2 > Notebooks</ h2 >
@@ -95,9 +84,10 @@ <h2>Notebooks</h2>
9584 < li > < a href ="{{ notebook.details_url }} "> {{ notebook.name }}</ a > </ li >
9685 {% endfor %}
9786 </ ul >
87+ < hr >
9888 {% endif %}
9989 < h2 > Project Members</ h2 >
100- < div class ="d-flex ">
90+ < div class ="d-flex py-2 ">
10191 < div class ="w-25 ">
10292 < div class ="d-flex justify-content-center ">
10393 < img src ="{% static 'images/profile-placeholder.png' %} " style ="height:2.5rem; ">
@@ -134,17 +124,47 @@ <h2>Project Members</h2>
134124 </ div >
135125 </ div >
136126 </ div >
137- < p > < a href ="{% url 'api:members-by-source' %}?source={{ project.id_label }} "> See all members...</ a > </ p >
127+ < p >
128+ < a href ="{% url 'api:members-by-source' %}?source={{ project.id_label }} "> See
129+ all members...</ a >
130+ </ p >
131+ < hr >
138132 < h2 > Project information</ h2 >
139133 < div >
140- < b > Managed by:</ b >
141- < div class ="d-inline-block ">
142- {{ project.leader }}
143- </ div > < br >
144- < b > Contact email:</ b > {{ project.contact_email }}< br >
145- < b > Joined by:</ b >
134+ {% include 'partials/activity-info-short-bs4.html' %}
135+ < div class ="mb-1 ">
136+ < b class ="mr-2 "> Joined by:</ b >
146137 < a href ="{% url 'api:members-by-source' %}?source={{ project.id_label }} ">
147138 {{ project.authorized_members }} members</ a >
139+ </ div >
140+ < div class ="mb-1 ">
141+ < b class ="mr-2 "> Launched:</ b > {{ project.project_approval_date|date }}
142+ </ div >
143+ < div class ="mb-1 ">
144+ < b class ="mr-2 "> Project website:</ b >
145+ < a href ="{{ project.info_url }} "> {{ project.info_url }}</ a >
146+ </ div >
147+ < div class ="mb-1 ">
148+ < b class ="mr-2 "> Contact email:</ b >
149+ < a href ="mailto:{{ project.contact_email }} "> {{ project.contact_email }}</ a >
150+ </ div >
151+ < div class ="mb-1 ">
152+ < b class ="mr-2 "> Project terms:</ b >
153+ < a href ="{% if project.terms_url %}{{ project.terms_url }}{% else %}{{ project.info_url }}{% endif %} "> Read here</ a >
154+ </ div >
155+ {% if requests_permissions %}
156+ {% include 'partials/activity-permissions-bs4.html' %}
157+ {% endif %}
158+ {% if project.returned_data_description %}
159+ < div class ="d-flex mb-1 ">
160+ < div class ="pr-3 ">
161+ < b > Uploaded data:</ b >
162+ </ div >
163+ < div class ="text-muted ">
164+ {{ project.returned_data_description }}
165+ </ div >
166+ </ div >
167+ {% endif %}
148168 </ div >
149169 </ div >
150170</ div >
0 commit comments