Skip to content

Commit

Permalink
Add @todo, remove unused Python conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkykh committed Jul 24, 2018
1 parent 5b96019 commit b1da903
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
7 changes: 3 additions & 4 deletions themes-default/slim/views/vue-components/submenu.mako
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<show-selector v-if="showSelectorVisible" :show-slug="curShowSlug"></show-selector>
</div>
</div> <!-- end of container -->
</div>
</%text>
</script>
<%!
Expand All @@ -28,9 +28,8 @@ const SubmenuComponent = {
data() {
return {
// Python conversions
rawSubmenu: ${json.dumps(submenu)},
controller: '${controller}',
action: '${action}'
// @TODO: Add the submenu definitions to VueRouter's routes object
rawSubmenu: ${json.dumps(submenu)}
};
},
computed: {
Expand Down
7 changes: 3 additions & 4 deletions themes/dark/templates/vue-components/submenu.mako
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<show-selector v-if="showSelectorVisible" :show-slug="curShowSlug"></show-selector>
</div>
</div> <!-- end of container -->
</div>
</%text>
</script>
<%!
Expand All @@ -28,9 +28,8 @@ const SubmenuComponent = {
data() {
return {
// Python conversions
rawSubmenu: ${json.dumps(submenu)},
controller: '${controller}',
action: '${action}'
// @TODO: Add the submenu definitions to VueRouter's routes object
rawSubmenu: ${json.dumps(submenu)}
};
},
computed: {
Expand Down
7 changes: 3 additions & 4 deletions themes/light/templates/vue-components/submenu.mako
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<show-selector v-if="showSelectorVisible" :show-slug="curShowSlug"></show-selector>
</div>
</div> <!-- end of container -->
</div>
</%text>
</script>
<%!
Expand All @@ -28,9 +28,8 @@ const SubmenuComponent = {
data() {
return {
// Python conversions
rawSubmenu: ${json.dumps(submenu)},
controller: '${controller}',
action: '${action}'
// @TODO: Add the submenu definitions to VueRouter's routes object
rawSubmenu: ${json.dumps(submenu)}
};
},
computed: {
Expand Down

0 comments on commit b1da903

Please sign in to comment.