mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-02 04:00:36 +00:00
challenges: "close" => "end challenge", move outside of edit
This commit is contained in:
parent
20cac379cf
commit
8c83bc6ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -22,10 +22,10 @@ script(type='text/ng-template', id='partials/options.social.challenges.detail.ht
|
|||
ul.unstyled
|
||||
li(ng-hide='challenge._locked==false')
|
||||
button.btn.btn-small.btn-default(ng-click='challenge._locked = false') Edit
|
||||
button.btn.btn-small.btn-warning(ng-click='close(challenge, $event)', tooltip='Delete or select winner') End Challenge
|
||||
li(ng-show='challenge._locked==false')
|
||||
button.btn.btn-small.btn-primary(ng-click='save(challenge)') Save
|
||||
button.btn.btn-small.btn-default(ng-click='challenge._locked=true') Cancel
|
||||
button.btn.btn-small.btn-default(ng-click='close(challenge, $event)', tooltip='Delete or select winner') Close
|
||||
|
||||
div(ng-show='challenge._locked==false')
|
||||
.-options
|
||||
|
|
|
|||
Loading…
Reference in a new issue