Replace Status underscore and minor style tweaks
This commit is contained in:
@@ -19,7 +19,7 @@ function save_task(task_id, task_url) {
|
||||
// Update the task list.
|
||||
// NOTE: this is tightly linked to the HTML of the task list in for_project.jade.
|
||||
$(task + ' span.name').text($form.find("input[name='name']").val());
|
||||
$(task + ' span.status').text($form.find("select[name='status']").val());
|
||||
$(task + ' span.status').text($form.find("select[name='status']").val().replace('_', ' '));
|
||||
$(task + ' span.status-indicator')
|
||||
.removeAttr('class')
|
||||
.addClass('status-indicator ' + $form.find("select[name='status']").val());
|
||||
|
Reference in New Issue
Block a user