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
is_archived: false
status: $scope.project.default_task_status
assigned_to: null
}
isNew = true
editDescription($scope, $el)

View File

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