Skip to content

Commit

Permalink
More /addShows routes
Browse files Browse the repository at this point in the history
* /addShows/trendingShows
* /addShows/popularShows
* /addShows/popularAnime
  • Loading branch information
sharkykh committed Aug 21, 2018
1 parent 06b52e7 commit 0bbdac3
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
17 changes: 17 additions & 0 deletions themes-default/slim/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,23 @@ const addShowRoutes = {
title: 'Add New Show',
header: 'Add New Show'
}
}, {
path: 'trendingShows',
name: 'addTrendingShows'
}, {
path: 'popularShows',
name: 'addPopularShows',
meta: {
title: 'Popular Shows',
header: 'Popular Shows'
}
}, {
path: 'popularAnime',
name: 'addPopularAnime',
meta: {
title: 'Popular Anime Shows',
header: 'Popular Anime Shows'
}
}]
};

Expand Down
4 changes: 0 additions & 4 deletions themes-default/slim/views/addShows_trendingShows.mako
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ window.app = new Vue({
<%block name="content">
<div class="row">
<div class="col-md-12">
% if not header is UNDEFINED:
<h1 class="header">${header}</h1>
% else:
<h1 class="title">${title}</h1>
% endif
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/dark/assets/js/vendors.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions themes/dark/templates/addShows_trendingShows.mako
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ window.app = new Vue({
<%block name="content">
<div class="row">
<div class="col-md-12">
% if not header is UNDEFINED:
<h1 class="header">${header}</h1>
% else:
<h1 class="title">${title}</h1>
% endif
</div>
</div>
Expand Down
Loading

0 comments on commit 0bbdac3

Please sign in to comment.