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