diff --git a/about/templates/base.html b/about/templates/base.html
index f2fba5da..4c9e13b0 100644
--- a/about/templates/base.html
+++ b/about/templates/base.html
@@ -50,7 +50,7 @@
diff --git a/projects/templates/projects.list.html b/projects/templates/projects.list.html
index 2fc44163..892e9347 100644
--- a/projects/templates/projects.list.html
+++ b/projects/templates/projects.list.html
@@ -2,7 +2,7 @@
{% block content %}
-
Projects
+
Projects
diff --git a/stories/templates/stories.base.html b/stories/templates/stories.base.html
index 0203e6e4..9439df3c 100644
--- a/stories/templates/stories.base.html
+++ b/stories/templates/stories.base.html
@@ -23,7 +23,7 @@
{% endblock %}
{% block postscript %}
{% include "stories.modal_addstory.html" %}
{% block modals %}
diff --git a/stories/templates/stories.dashboard.html b/stories/templates/stories.dashboard.html
index 51a91754..c04b12e1 100644
--- a/stories/templates/stories.dashboard.html
+++ b/stories/templates/stories.dashboard.html
@@ -1,9 +1,33 @@
{% extends "stories.base.html" %}
+{% load storyviewfilters %}
{% block content %}
-
Hola. This should contain the Tasks dashboard one day.
-
In the meantime, try this one.
+
Stories
+
Recent bugs
+
+
+
+ # |
+ Story |
+ Priority |
+ Affects |
+
+
+
+{% for story in recent_bugs %}
+
+ {{ story.id }} |
+ {{ story.title }} |
+
+ {{ story.get_priority_display }} |
+
+ {% for task in story.task_set.all %}{{ task.project.name }}{% endfor %}
+ |
+
+{% endfor %}
+
+
{% endblock %}
diff --git a/stories/views.py b/stories/views.py
index 05777fd4..32b815f1 100644
--- a/stories/views.py
+++ b/stories/views.py
@@ -22,7 +22,10 @@ from projects.models import Project, Milestone, Series
from stories.models import Story, Task, Comment, StoryTag
def dashboard(request):
- return render(request, "stories.dashboard.html")
+ recent_bugs = Story.objects.order_by("-id")[:5]
+ return render(request, "stories.dashboard.html", {
+ 'recent_bugs': recent_bugs,
+ })
def view(request, storyid):