hummingbird-me/kitsu-web

View on GitHub
app/templates/components/library-entry/state/new-entry.hbs

Summary

Maintainability
Test Coverage
{{! Seen This }}
<button class="button button--secondary seen-this" {{action "createLibraryEntry" "completed"}}>
  {{t "library-entry.state.seen-this" type=media.modelType}}
</button>

{{#unless createOnly}}
  {{! Want to Watch }}
  <button class="button button--secondary want-to-watch" {{action "createLibraryEntry" "planned"}}>
    {{t "library-entry.state.want-to-watch" type=media.modelType}}
  </button>

  {{! Started Watching }}
  <button class="button button--secondary started-watching" {{action "createLibraryEntry" "current"}}>
    {{t "library-entry.state.started-watching" type=media.modelType}}
  </button>
{{/unless}}