Skip to content

Commit

Permalink
Ignore projects with no date_head #40
Browse files Browse the repository at this point in the history
  • Loading branch information
rimutaka committed Oct 18, 2021
1 parent 981d591 commit b05f151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stm_html_ui/templates/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h5><small>Software Developer</small></h5>
{% if user.report.projects_included %}
<h3 class="mt-4">Projects</h3>
<ul class="list-inline">
{% for proj in user.report.projects_included | sort(attribute="date_head") | reverse %}
{% for proj in user.report.projects_included | filter(attribute="date_head") | sort(attribute="date_head") | reverse %}
{% if proj.loc > 0 %}
<li class="pe-4 mb-4 .text-nowrap list-inline-item">
<div class="card" style="width: 20rem;">
Expand Down

0 comments on commit b05f151

Please sign in to comment.