Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Improved empty screen on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
EnTeQuAk committed Sep 5, 2012
1 parent 6b84b10 commit 4a7cd08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions folivora/templates/folivora/dashboard.html
Expand Up @@ -44,12 +44,18 @@
<a href="{% url 'folivora_project_resign' project.slug %}" title="{% trans 'resign' %}"><i class="icon-leaf"></i></a>
</td>
</tr>
{% empty %}
<tr>
<td colspan="4">No projects defined yet, <a href="{% url 'folivora_project_add' %}">create your first project now!</a></td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>{% trans 'Recent Changes:' %}</h2>
{% for log in log_entries %}
<div class="log well"><img class="pull-right" height=40" src="{{ log.user.email|gravatar_url:40 }}"/>{% include log.template %}</div>
{% empty %}
<div class="log well"><strong>Nothing changed so far...</strong></div>
{% endfor %}
</div>
<div class="well span3">
Expand Down

0 comments on commit 4a7cd08

Please sign in to comment.