From 82ce4cf663acaf647dfa6fb786bab338938c6975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Thu, 8 Jan 2015 15:10:42 +0100 Subject: [PATCH] Fix HTML and CSS syntax --- app/partials/views/components/kanban-task.jade | 8 ++++---- app/styles/components/kanban-task.scss | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/partials/views/components/kanban-task.jade b/app/partials/views/components/kanban-task.jade index 2e308137..628ab762 100644 --- a/app/partials/views/components/kanban-task.jade +++ b/app/partials/views/components/kanban-task.jade @@ -6,9 +6,9 @@ div.kanban-task-inner span.task-num(tg-bo-ref="us.ref") a.task-name(href="", title="See user story detail", ng-bind="us.subject", tg-nav="project-userstories-detail:project=project.slug,ref=us.ref") - a.task-points(href="", title="Total Us points") - span(ng-bind="us.total_points", ng-if="us.total_points !== null") - span(ng-if="us.total_points === null") -- - span points + p.task-points(href="", title="Total Us points") + span(ng-if="us.total_points !== null", ng-bind="us.total_points") + span(ng-if="us.total_points !== null") points + span(ng-if="us.total_points === null") Not estimated a.icon.icon-edit(tg-check-permission="modify_us", href="", title="Edit") a.icon.icon-drag-h(tg-check-permission="modify_us", href="", title="Drag&Drop") diff --git a/app/styles/components/kanban-task.scss b/app/styles/components/kanban-task.scss index 1343d5e7..a1d4bef0 100644 --- a/app/styles/components/kanban-task.scss +++ b/app/styles/components/kanban-task.scss @@ -117,8 +117,6 @@ .task-points { @extend %small; color: darken($postit-hover, 15%); - cursor: move; - display: block; margin: 0; span { display: inline-block;