X button for mobile edits in composer
This commit is contained in:
parent
98faf2878e
commit
6e569e5bfd
|
@ -104,11 +104,18 @@
|
|||
label=model.saveLabel
|
||||
disableSubmit=disableSubmit}}
|
||||
{{#if site.mobileView}}
|
||||
<a href {{action "cancel"}} class='cancel' tabindex="6" title="{{i18n 'cancel'}}">{{d-icon "trash-o"}}</a>
|
||||
<a href {{action "cancel"}} class='cancel' tabindex="6" title="{{i18n 'cancel'}}">
|
||||
{{#if canEdit}}
|
||||
{{d-icon "times"}}
|
||||
{{else}}
|
||||
{{d-icon "trash-o"}}
|
||||
{{/if}}
|
||||
</a>
|
||||
{{else}}
|
||||
<a href {{action "cancel"}} class='cancel' tabindex="6" >{{i18n 'cancel'}}</a>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if site.mobileView}}
|
||||
{{#if whisperOrUnlistTopic}}
|
||||
<span class='whisper'>
|
||||
|
|
Loading…
Reference in New Issue