Show the select 'assigned_to'

stable
David Barragán Merino 2014-06-29 02:18:37 +02:00
parent 0f44a6496b
commit 7b0741f863
2 changed files with 5 additions and 5 deletions

View File

@ -51,6 +51,7 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootScope) ->
user_story: usId user_story: usId
is_archived: false is_archived: false
status: $scope.project.default_task_status status: $scope.project.default_task_status
assigned_to: null
} }
isNew = true isNew = true
editDescription($scope, $el) editDescription($scope, $el)

View File

@ -7,11 +7,10 @@ form
fieldset fieldset
select(ng-model="task.status", ng-options="s.id as s.name for s in taskStatusList", select(ng-model="task.status", ng-options="s.id as s.name for s in taskStatusList",
placeholder="Task status") placeholder="Task status")
// TODO: Assigned to fieldset
//fieldset select(ng-model="task.assigned_to", ng-options="s.id as s.full_name_display for s in users",
// select(ng-model="task.assigned_to", ng-options="s.id as s.full_name for s in userList", placeholder="Assigned to")
// placeholder="Assigned to") option(value="") Unassigned
// option(value)-------
fieldset fieldset
input(type="text", placeholder="Tags", tg-tags, ng-model="task.tags") input(type="text", placeholder="Tags", tg-tags, ng-model="task.tags")
fieldset fieldset