diff --git a/octobermovies.sublime-workspace b/octobermovies.sublime-workspace index 95e9e6b..ea59017 100644 --- a/octobermovies.sublime-workspace +++ b/octobermovies.sublime-workspace @@ -336,18 +336,27 @@ "buffers": [ { - "file": "themes/olympos/layouts/static-layout.htm", + "file": "plugins/watchlearn/movies/models/movie/columns.yaml", "settings": { - "buffer_size": 2187, - "line_ending": "Windows" + "buffer_size": 449, + "line_ending": "Unix" + } + }, + { + "file": "plugins/watchlearn/movies/models/movie/_poster_column.htm", + "settings": + { + "buffer_size": 95, + "encoding": "UTF-8", + "line_ending": "Unix" } }, { - "file": "themes/olympos/partials/footer.htm", + "file": "plugins/watchlearn/movies/models/actor/columns.yaml", "settings": { - "buffer_size": 311, + "buffer_size": 154, "line_ending": "Unix" } } @@ -574,13 +583,17 @@ "expanded_folders": [ "/Users/idoric/Development/public/octobermovies", - "/Users/idoric/Development/public/octobermovies/themes", - "/Users/idoric/Development/public/octobermovies/themes/olympos", - "/Users/idoric/Development/public/octobermovies/themes/olympos/layouts", - "/Users/idoric/Development/public/octobermovies/themes/olympos/partials" + "/Users/idoric/Development/public/octobermovies/plugins", + "/Users/idoric/Development/public/octobermovies/plugins/watchlearn", + "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies", + "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies/models", + "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies/models/actor", + "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies/models/movie", + "/Users/idoric/Development/public/octobermovies/themes/olympos" ], "file_history": [ + "/Users/idoric/Development/public/octobermovies/themes/olympos/layouts/static-layout.htm", "/Users/idoric/Development/public/octobermovies/themes/olympos/layouts/default.htm", "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies/controllers/movies/_list_toolbar.htm", "/Users/idoric/Development/public/octobermovies/plugins/watchlearn/movies/controllers/movies/update.htm", @@ -707,8 +720,7 @@ "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/sass/_404.scss", "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/sass/modules/_lockeroom-article.scss", "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/sass/_lockeroom-single.scss", - "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/single-venue/prices.php", - "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/sass/_modules.scss" + "/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/single-venue/prices.php" ], "find": { @@ -921,68 +933,68 @@ "groups": [ { - "selected": 0, + "selected": 2, "sheets": [ { "buffer": 0, - "file": "themes/olympos/layouts/static-layout.htm", + "file": "plugins/watchlearn/movies/models/movie/columns.yaml", "semi_transient": false, "settings": { - "buffer_size": 2187, + "buffer_size": 449, "regions": { }, "selection": [ [ - 1192, - 1192 + 113, + 113 ] ], "settings": { "incomplete_sync": null, - "open_with_edit": true, "remote_loading": false, "synced": false, - "syntax": "Packages/Twig/Syntaxes/HTML (Twig).tmLanguage", - "tabs_extra_last_activated": 1489842177.9, + "syntax": "Packages/YAML/YAML.sublime-syntax", + "tabs_extra_last_activated": 1490437277.97, "tabs_extra_last_activated_sheet_index": 0, "tabs_extra_spawned": true }, "translation.x": 0.0, - "translation.y": 1310.0, + "translation.y": 0.0, "zoom_level": 1.0 }, - "stack_index": 0, + "stack_index": 2, "type": "text" }, { "buffer": 1, - "file": "themes/olympos/partials/footer.htm", - "semi_transient": true, + "file": "plugins/watchlearn/movies/models/movie/_poster_column.htm", + "semi_transient": false, "settings": { - "buffer_size": 311, + "buffer_size": 95, "regions": { }, "selection": [ [ - 311, - 0 + 95, + 95 ] ], "settings": { + "_anf_new": "", "incomplete_sync": null, "remote_loading": false, "synced": false, "syntax": "Packages/Twig/Syntaxes/HTML (Twig).tmLanguage", - "tabs_extra_last_activated": 1489837591.28, + "tabs_extra_last_activated": 1490438337.01, "tabs_extra_last_activated_sheet_index": 1, "tabs_extra_spawned": true }, @@ -992,6 +1004,40 @@ }, "stack_index": 1, "type": "text" + }, + { + "buffer": 2, + "file": "plugins/watchlearn/movies/models/actor/columns.yaml", + "semi_transient": false, + "settings": + { + "buffer_size": 154, + "regions": + { + }, + "selection": + [ + [ + 139, + 139 + ] + ], + "settings": + { + "incomplete_sync": null, + "remote_loading": false, + "synced": false, + "syntax": "Packages/YAML/YAML.sublime-syntax", + "tabs_extra_last_activated": 1490442107.43, + "tabs_extra_last_activated_sheet_index": 2, + "tabs_extra_spawned": true + }, + "translation.x": 0.0, + "translation.y": 37.0, + "zoom_level": 1.0 + }, + "stack_index": 0, + "type": "text" } ] } @@ -1566,21 +1612,25 @@ "select_project": { "height": 500.0, - "last_filter": "watch", + "last_filter": "wa", "selected_items": [ [ - "watch", + "wa", "~/Development/public/watchlearn/watchlearn.sublime-project" ], [ - "vip", - "~/Burza/vip-templates/vip-templates.sublime-project" + "wat", + "~/Development/public/watchlearn/watchlearn.sublime-project" ], [ - "wat", + "watch", "~/Development/public/watchlearn/watchlearn.sublime-project" ], + [ + "vip", + "~/Burza/vip-templates/vip-templates.sublime-project" + ], [ "", "~/Burza/patternlab/patternlab.sublime-project" diff --git a/plugins/watchlearn/movies/models/actor/columns.yaml b/plugins/watchlearn/movies/models/actor/columns.yaml index ee6e13b..1daed89 100644 --- a/plugins/watchlearn/movies/models/actor/columns.yaml +++ b/plugins/watchlearn/movies/models/actor/columns.yaml @@ -4,8 +4,4 @@ columns: type: text searchable: true sortable: true - lastname: - label: 'Last name' - type: text - searchable: true - sortable: true + select: 'concat(name, '' '', lastname)' diff --git a/plugins/watchlearn/movies/models/movie/_poster_column.htm b/plugins/watchlearn/movies/models/movie/_poster_column.htm new file mode 100644 index 0000000..2274012 --- /dev/null +++ b/plugins/watchlearn/movies/models/movie/_poster_column.htm @@ -0,0 +1,3 @@ +poster){ ?> + + \ No newline at end of file diff --git a/plugins/watchlearn/movies/models/movie/columns.yaml b/plugins/watchlearn/movies/models/movie/columns.yaml index f5814e5..c1fbea0 100644 --- a/plugins/watchlearn/movies/models/movie/columns.yaml +++ b/plugins/watchlearn/movies/models/movie/columns.yaml @@ -1,6 +1,6 @@ columns: name: - label: Name + label: 'Movie name' type: text searchable: true sortable: true @@ -8,3 +8,13 @@ columns: label: Year type: number sortable: true + poster: + label: Poster + type: partial + path: ~/plugins/watchlearn/movies/models/movie/_poster_column.htm + genres: + label: Genres + type: text + searchable: true + select: genre_title + relation: genres