ソースを参照

Maj report_sprints

omassot 6 年 前
コミット
edf3ec63c1
2 ファイル変更11 行追加5 行削除
  1. 0 3
      main/templates/index.html
  2. 11 2
      main/templates/reports/report_sprints.html

+ 0 - 3
main/templates/index.html

@@ -33,7 +33,6 @@
 		
 		<tbody>
 			{% for epic in epics %}
-			
 			<tr data-url="{% url 'epic_details' epic_id=epic.id %}">
 				<td>
 					<i class="fa fa-sticky-note" style="margin-right: 0.5em; color:{{ epic.project.color }};" title="Projet: {{ epic.project.name }}"></i> 
@@ -49,9 +48,7 @@
 				<td style="font-size: 0.8em;">{{ epic.contributors_str }}</td>
 				<td>{{ epic.nb_stories }}</td>
 			</tr>
-			
 			{% endfor %}
-		
 		</tbody>
 	
 	</table>

+ 11 - 2
main/templates/reports/report_sprints.html

@@ -39,10 +39,19 @@
 					<b>Non-planifié: {{ sprint.unplanned }} </b>
 				</div>
 				
-				{% if sprint.retro %}
 				<div class="sprint-retro">
+				<h5>Bilan </h5>
+				{% if sprint.retro %}
 					{{ sprint.retro|safe_markdown }}
-				</div>
+				{% else %}
+					RAS
+				{% endif %}
+				
+				<h5>Perspectives </h5>
+				{% if sprint.improvements %}
+					{{ sprint.improvements |safe_markdown }}
+				{% else %}
+					RAS
 				{% endif %}
 			</div>
 		</li>