summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-05-23 19:34:55 -0500
committerJacob Schatz <jschatz1@gmail.com>2016-05-25 08:15:20 -0400
commit0f63d34447dee488a861ad4d32d0165740a8262b (patch)
tree539017426414ef6589a35e3e0509b7c24ce7d93d /app/views/dashboard
parentda14205b61e51a2bfb4b7f0c6c8e3d13aa1bead4 (diff)
downloadgitlab-ce-0f63d34447dee488a861ad4d32d0165740a8262b.tar.gz
Remove conditional
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/todos/_todo.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/dashboard/todos/_todo.html.haml b/app/views/dashboard/todos/_todo.html.haml
index db567d6df3b..98f302d2f93 100644
--- a/app/views/dashboard/todos/_todo.html.haml
+++ b/app/views/dashboard/todos/_todo.html.haml
@@ -3,8 +3,7 @@
= image_tag avatar_icon(todo.author_email, 40), class: 'avatar s40', alt:''
.todo-title.title
- unless todo.build_failed?
- - if show_todo_state?(todo)
- = todo_target_state_pill(todo)
+ = todo_target_state_pill(todo)
%span.author-name
- if todo.author