@@ -331,6 +331,66 @@ <h5 class="fw-semibold">
331331 </ div >
332332 </ div >
333333 </ div >
334+ < hr >
335+ < h5 class ="fw-semibold ">
336+ < img src ="{% static 'assets/qa-runs.svg' %} "
337+ < img src ="{% static 'assets/feature-changes.svg' %} "
338+ alt ="Hugging Foxes "
339+ style ="width: 60px;
340+ height: auto " />
341+ Feature Changes
342+ < i class ="fa-regular fa-circle-question "
343+ data-bs-toggle ="tooltip "
344+ data-bs-placement ="top "
345+ data-bs-title ="This shows any changes made to the Nimbus feature manifest such as code changes for the feature you have chosen "> </ i >
346+ |
347+ < span class ="badge bg-secondary "> Number of changes: {{ feature_changes.count|default:"0" }}</ span >
348+ </ h5 >
349+ < div >
350+ < div id ="feature-changes-table ">
351+ < table class ="table table-hover table-borderless align-middle mb-3 ">
352+ < thead >
353+ < tr >
354+ < th scope ="col " class ="fw-semibold text-body ">
355+ < span > Feature Change</ span >
356+ </ th >
357+ < th scope ="col " class ="fw-semibold text-body ">
358+ < span > Date / Time</ span >
359+ </ th >
360+ < th scope ="col " class ="fw-semibold text-body ">
361+ < span > Change Size</ span >
362+ </ th >
363+ < th scope ="col " class ="fw-semibold text-body ">
364+ < span > Change Diff</ span >
365+ </ th >
366+ </ tr >
367+ </ thead >
368+ < tbody >
369+ {% for change in feature_changes %}
370+ < tr scope ="row ">
371+ < td id ="feature-change-link ">
372+ {% if change.change_link %}
373+ < a href ="{{ change.change_link }} "
374+ target ="_blank "
375+ class ="text-decoration-none "> {{ change.change_link|truncatechars:50 }}</ a >
376+ {% else %}
377+ < span class ="text-danger "> Not set</ span >
378+ {% endif %}
379+ </ td >
380+ < td id ="feature-change-date "> {{ change.change_date|date:"m/d/Y @ H:i"|format_not_set }}</ td >
381+ < td id ="feature-change-size "> {{ change.change_size|format_not_set }}</ td >
382+ < td id ="feature-change-complexity "> {{ change.softvision_complexity|format_not_set }}</ td >
383+ </ tr >
384+ {% empty %}
385+ < tr >
386+ < td colspan ="11 " class ="text-center text-muted py-5 "> No Tracked Feature Changes</ td >
387+ </ tr >
388+ </ tr >
389+ {% endfor %}
390+ </ tbody >
391+ </ table >
392+ </ div >
393+ </ div >
334394 </ div >
335395 </ div >
336396 </ div >
0 commit comments