Skip to content

Commit

Permalink
fix: show mesage when not found episodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Duke committed Mar 31, 2015
1 parent 45c9053 commit 16cf9ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/styles/_episodes.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
p.not_found
text-align: center
font-size: 17px
border: 1px solid #e28327
border-radius: 3px

ul.episodes
padding: 0 5px

Expand Down
2 changes: 2 additions & 0 deletions app/templates/components/episodes-list.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{#each episode in episodesFiltered}}
{{episode-list-item episode=episode}}
{{else}}
<p class="uk-alert uk-alert-warning not_found">{{t 'views.channel.episodes_not_found'}}</p>
{{/each}}

{{#infinite-scroll content=episodes hasMore=hasMore}}
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"typicons": "~2.0.6",
"font-awesome": "~4.2.0",
"mediaelement": "~2.16.3",
"uhura-i18n": "uhuraapp/uhura-i18n#master",
"uhura-i18n": "uhuraapp/uhura-i18n#9905b08",
"ember-simple-auth": "0.7.2",
"nanoscroller": "~0.8.4",
"ember-indexeddb-adapter": "dukex/ember-indexeddb-adapter#master",
Expand Down

0 comments on commit 16cf9ce

Please sign in to comment.