Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #232 from tessie/branchtooltip
Browse files Browse the repository at this point in the history
Fix Bug 1018373 - Add tooltip to Abandon and Complete task
  • Loading branch information
bobsilverberg committed Jan 13, 2015
2 parents 3460217 + 614f575 commit 99c9578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oneanddone/tasks/templates/tasks/detail.html
Expand Up @@ -132,12 +132,12 @@ <h2>{{_('List of users who completed this task') }}</h2>

<form method="post" action="{{ url('tasks.abandon', attempt.id) }}">
{{ csrf() }}
<button type="submit" class="button" id="abandon-task">{{ _('Abandon task') }}</button>
<button type="submit" title="{{ _('Abandon this task') }}" class="button" id="abandon-task">{{ _('Abandon this task') }}</button>
</form>

<form method="post" action="{{ url('tasks.finish', attempt.id) }}">
{{ csrf() }}
<button type="submit" class="button" id="complete-task">{{ _('Complete task') }}</button>
<button type="submit" title="{{ _('Complete this task') }}" class="button" id="complete-task">{{ _('Complete this task') }}</button>
</form>
{% else %}
{% if task.is_available %}
Expand Down

0 comments on commit 99c9578

Please sign in to comment.