{{#if communities.communityInfo.cover_image_url }}
  <div class='cm-cover' style={{bannerStyle}}></div>
{{else}}
  <div class='cm-cover'></div>
{{/if}}

{{#if communities.isEditing}}
  <div class="cn-overlay cn-edit-image" onclick={{action (mut showBalloon) (not showBalloon)}}>
    <div class="balloon-wrapper">
      <div class="balloon balloon--down balloon--dropmenu balloon--center balloon--fancy mg-t-2 {{if showBalloon 'show' 'hide'}}">
        <ul class="balloon__list">
          <li><a class="balloon__link" onclick={{action openInModal uploadImageTemplate this}}>{{i18n 'Upload new image'}}</a></li>
          <li class="balloon__stroke"></li>
          <li><a class="balloon__link" onclick={{action 'removeBanner'}}  href="#">{{i18n 'Remove'}}</a></li>
        </ul>
      </div>
      {{svg-icon path='svg/edit'}}
      <p>{{i18n 'Change cover image'}}</p>
    </div>
  </div>
{{/if}}
