hummingbird-me/hummingbird

View on GitHub
frontend/app/templates/manga.hbs

Summary

Maintainability
Test Coverage
<div class="series-header" style="{{coverImageStyle}}">
  <div class="container">
    <div class="header-buttons">
      {{#if currentUser.isSignedIn}}
        <span class="edit-button">
          <a {{action "openModal" "edit-manga" model}}>Edit this page</a>
        </span>
      {{/if}}
      <span class="facebook-share">
        <div class="fb-like" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
      </span>
      <span class="twitter-share">
        <a class="twitter-share-button" href="https://twitter.com/share"> Tweet </a>
        <script type="text/javascript">
        window.twttr=(function(d,s,id){var t,js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return}js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);return window.twttr||(t={_e:[],ready:function(f){t._e.push(f)}})}(document,"script","twitter-wjs"));
        </script>
      </span>
    </div>
    {{#if randomQuote}}
      <div class="featured-quote">
        <div class="quote-text">"{{randomQuote.content}}"</div>
        <div class="quote-author">- {{randomQuote.characterName}}</div>
      </div>
    {{/if}}
  </div>
</div>

{{outlet}}