Edit placeholder text in taskboard task
parent
b28e33fcb3
commit
e8c2506c5b
|
@ -438,7 +438,7 @@ KanbanUserstoryDirective = ($rootscope, $loading, $rs) ->
|
||||||
|
|
||||||
$scope.getTemplateUrl = () ->
|
$scope.getTemplateUrl = () ->
|
||||||
if $scope.us.isPlaceholder
|
if $scope.us.isPlaceholder
|
||||||
return "common/components/card-placeholder.html"
|
return "common/components/kanban-placeholder.html"
|
||||||
else
|
else
|
||||||
return "kanban/kanban-task.html"
|
return "kanban/kanban-task.html"
|
||||||
|
|
||||||
|
|
|
@ -1124,7 +1124,9 @@
|
||||||
"ACTION_HIDE_ARCHIVED": "Hide archived",
|
"ACTION_HIDE_ARCHIVED": "Hide archived",
|
||||||
"HIDDEN_USER_STORIES": "The user stories in this status are hidden by default",
|
"HIDDEN_USER_STORIES": "The user stories in this status are hidden by default",
|
||||||
"ARCHIVED": "You have archived",
|
"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": {
|
"SEARCH": {
|
||||||
"PAGE_TITLE": "Search - {{projectName}}",
|
"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}}
|
|
@ -40,12 +40,12 @@ div.kanban-table(tg-kanban-squish-column)
|
||||||
div.kanban-table-body
|
div.kanban-table-body
|
||||||
div.kanban-table-inner
|
div.kanban-table-inner
|
||||||
div.kanban-uses-box.task-column(ng-class='{vfold:folds[s.id]}',
|
div.kanban-uses-box.task-column(ng-class='{vfold:folds[s.id]}',
|
||||||
ng-repeat="s in usStatusList track by s.id",
|
ng-repeat="s in usStatusList track by s.id",
|
||||||
tg-kanban-sortable,
|
tg-kanban-sortable,
|
||||||
tg-kanban-wip-limit="s",
|
tg-kanban-wip-limit="s",
|
||||||
tg-kanban-column-height-fixer,
|
tg-kanban-column-height-fixer,
|
||||||
tg-bind-scope)
|
tg-bind-scope
|
||||||
|
)
|
||||||
div.kanban-task(
|
div.kanban-task(
|
||||||
ng-repeat="us in usByStatus[s.id] track by us.id",
|
ng-repeat="us in usByStatus[s.id] track by us.id",
|
||||||
tg-kanban-userstory,
|
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}"
|
ng-class="{'kanban-task-maximized': ctrl.isMaximized(s.id), 'kanban-task-minimized': ctrl.isMinimized(s.id), 'card-placeholder': us.isPlaceholder}"
|
||||||
placeholder="{{us.isPlaceholder}}"
|
placeholder="{{us.isPlaceholder}}"
|
||||||
)
|
)
|
||||||
|
|
||||||
div.kanban-column-intro(ng-if="s.is_archived", tg-kanban-archived-status-intro="s")
|
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
|
include ../components/taskboard-task
|
||||||
|
|
||||||
div(ng-if="task.isPlaceholder")
|
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.task-row(ng-init="us = null", ng-class="{'row-fold':usFolded[null]}")
|
||||||
div.taskboard-userstory-box.task-column
|
div.taskboard-userstory-box.task-column
|
||||||
|
@ -58,4 +59,4 @@ div.taskboard-table(tg-taskboard-squish-column)
|
||||||
include ../components/taskboard-task
|
include ../components/taskboard-task
|
||||||
|
|
||||||
div(ng-if="task.isPlaceholder")
|
div(ng-if="task.isPlaceholder")
|
||||||
include ../../common/components/card-placeholder
|
include ../../common/components/taskboard-placeholder
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
@extend %large;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
|
|
Loading…
Reference in New Issue