Skip to content

Commit

Permalink
fix: orange color for unpublish button (#4713)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Aug 5, 2020
1 parent 13d7e0c commit 683ef31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/events/view.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<i class="unhide icon"></i>
</a>
<button
class="ui button {{if (eq this.model.state 'published') 'orange'}} {{if this.isEventPublishable 'green'}}"
class="ui button {{if (eq this.model.state 'published') 'orange' 'green'}}"
{{action 'openConfirmModal'}}
data-tooltip="{{if (eq this.model.state 'published') 'Unpublish' 'Publish'}}"
data-position="top left"
Expand All @@ -49,7 +49,7 @@
{{/if}}
</a>

<button class="ui button labeled icon small {{if (eq this.model.state 'published') 'orange'}} {{if this.isEventPublishable 'green'}}" {{action 'openConfirmModal'}}>
<button class="ui button labeled icon small {{if (eq this.model.state 'published') 'orange' 'green'}}" {{action 'openConfirmModal'}}>
{{#if (eq this.model.state 'published')}}
<i class="ban icon"></i>
{{t 'Unpublish'}}
Expand Down

0 comments on commit 683ef31

Please sign in to comment.