Edit placeholder text in taskboard task
parent
b28e33fcb3
commit
e8c2506c5b
|
@ -438,7 +438,7 @@ KanbanUserstoryDirective = ($rootscope, $loading, $rs) ->
|
|||
|
||||
$scope.getTemplateUrl = () ->
|
||||
if $scope.us.isPlaceholder
|
||||
return "common/components/card-placeholder.html"
|
||||
return "common/components/kanban-placeholder.html"
|
||||
else
|
||||
return "kanban/kanban-task.html"
|
||||
|
||||
|
|
|
@ -1124,7 +1124,9 @@
|
|||
"ACTION_HIDE_ARCHIVED": "Hide archived",
|
||||
"HIDDEN_USER_STORIES": "The user stories in this status are hidden by default",
|
||||
"ARCHIVED": "You have archived",
|
||||
"UNDO_ARCHIVED": "Drag & drop again to undo"
|
||||
"UNDO_ARCHIVED": "Drag & drop again to undo",
|
||||
"PLACEHOLDER_CARD_TITLE": "Find Here User Stories",
|
||||
"PLACEHOLDER_CARD_TEXT": "Stories might also have subtasks to separate requirements"
|
||||
},
|
||||
"SEARCH": {
|
||||
"PAGE_TITLE": "Search - {{projectName}}",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
.placeholder-avatar
|
||||
.image
|
||||
.text
|
||||
.line
|
||||
.line
|
||||
p.title {{'KANBAN.PLACEHOLDER_CARD_TITLE' | translate}}
|
||||
p {{'KANBAN.PLACEHOLDER_CARD_TEXT' | translate}}
|
|
@ -44,8 +44,8 @@ div.kanban-table(tg-kanban-squish-column)
|
|||
tg-kanban-sortable,
|
||||
tg-kanban-wip-limit="s",
|
||||
tg-kanban-column-height-fixer,
|
||||
tg-bind-scope)
|
||||
|
||||
tg-bind-scope
|
||||
)
|
||||
div.kanban-task(
|
||||
ng-repeat="us in usByStatus[s.id] track by us.id",
|
||||
tg-kanban-userstory,
|
||||
|
@ -55,5 +55,4 @@ div.kanban-table(tg-kanban-squish-column)
|
|||
ng-class="{'kanban-task-maximized': ctrl.isMaximized(s.id), 'kanban-task-minimized': ctrl.isMinimized(s.id), 'card-placeholder': us.isPlaceholder}"
|
||||
placeholder="{{us.isPlaceholder}}"
|
||||
)
|
||||
|
||||
div.kanban-column-intro(ng-if="s.is_archived", tg-kanban-archived-status-intro="s")
|
||||
|
|
|
@ -37,7 +37,8 @@ div.taskboard-table(tg-taskboard-squish-column)
|
|||
include ../components/taskboard-task
|
||||
|
||||
div(ng-if="task.isPlaceholder")
|
||||
include ../../common/components/card-placeholder
|
||||
- var card = 'task'
|
||||
include ../../common/components/taskboard-placeholder
|
||||
|
||||
div.task-row(ng-init="us = null", ng-class="{'row-fold':usFolded[null]}")
|
||||
div.taskboard-userstory-box.task-column
|
||||
|
@ -58,4 +59,4 @@ div.taskboard-table(tg-taskboard-squish-column)
|
|||
include ../components/taskboard-task
|
||||
|
||||
div(ng-if="task.isPlaceholder")
|
||||
include ../../common/components/card-placeholder
|
||||
include ../../common/components/taskboard-placeholder
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
}
|
||||
}
|
||||
.title {
|
||||
@extend %large;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
p {
|
||||
|
|
Loading…
Reference in New Issue