Don't show last commit date on layer detail if field is null

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-02-26 22:38:44 +00:00
parent 88ada21861
commit 89d4f9ea6b

View File

@ -84,9 +84,11 @@
</p>
{% endif %}
{% if layeritem.vcs_last_commit %}
<p>
<span class="muted"><small>Last commit: {{ layeritem.vcs_last_commit|timesince }} ago</small></span>
</p>
{% endif %}
<h3>{% if layeritem.active_maintainers|length = 1 %}Maintainer{% else %}Maintainers{% endif %}</h3>