Skip to content

Commit

Permalink
Merge pull request #894 from HubSpot/task_kill_checkbox_label
Browse files Browse the repository at this point in the history
Task kill checkbox label
  • Loading branch information
ssalinas committed Feb 23, 2016
2 parents 2fd887f + 118487a commit 96469bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion SingularityUI/app/templates/vex/requestBounce.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
Bouncing a request will cause replacement tasks to be scheduled
(and under normal conditions) executed immediately.
</p>
<label for="no-incremental-bounce" id="no-incremental-bounce-label">
<input type="radio" name="incremental" id="no-incremental-bounce" value="false" checked> Kill old tasks once ALL new tasks are healthy<br>
</label>
<label for="incremental-bounce" id="incremental-bounce-label">
<input type="radio" name="incremental" value="false" checked> Kill old tasks once ALL new tasks are healthy<br>
<input type="radio" name="incremental" id="incremental-bounce" value="true"> Kill old tasks as new tasks become healthy
</label>
<label for="skip-healthchecks" id="skip-healthchecks-label">
Expand Down
5 changes: 4 additions & 1 deletion SingularityUI/app/views/taskOverviewSubview.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ class taskOverviewSubview extends View
vex.dialog.buttons.NO
]
input: """
<input name="wait-for-replacement-task" id="wait-for-replacement-task" type="checkbox" #{checked} /> Wait for replacement task to start before killing this task
<label name="wait-for-replacement-task-label" id="wait-for-replacement-task-label" for="wait-for-replacement-task">
<input name="wait-for-replacement-task" id="wait-for-replacement-task" type="checkbox" #{checked} />
Wait for replacement task to start before killing task
</label>
<input name="message" type="text" placeholder="Message (optional)" />
"""
message: templ id: @model.taskId
Expand Down

0 comments on commit 96469bb

Please # to comment.