Added: a) playlists' functions/pages, b) advanced filters in search results page, c) role filter in users management page, d) media search field in navigation tabs of profiles' pages

This commit is contained in:
root 2021-01-06 07:04:16 +02:00
parent 8fcdf66c66
commit a18595788a
34 changed files with 85 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
static/css/playlist.css Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
!function(){"use strict";var n={6814:function(n,t,r){(0,r(2667).X)()},9009:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function o(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return o}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){r(2322),r(9268)},4135:function(n,t,r){r(717),r(6660)},6203:function(n,t,r){r(2322),r(9268),r(3233)},8420:function(n,t,r){r.d(t,{A_:function(){return e.Z},v$:function(){return o.Z}});var e=r(1712),o=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},84:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){r.d(t,{sc:function(){return u},Zr:function(){return i},vh:function(){return c},Qb:function(){return f}});var e=r(8416),o=r.n(e);function u(){o().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function i(n){o().dispatch({type:"INIT_SIDEBAR",page:n})}function c(n){o().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function f(n){o().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{}};return n[e].call(o.exports,o,o.exports,r),o.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=443,function(){var n={443:0},t=[[6814,431]],e=function(){},o=function(o,u){for(var i,c,f=u[0],s=u[1],a=u[2],l=u[3],p=0,d=[];p<f.length;p++)c=f[p],r.o(n,c)&&n[c]&&d.push(n[c][0]),n[c]=0;for(i in s)r.o(s,i)&&(r.m[i]=s[i]);for(a&&a(r),o&&o(u);d.length;)d.shift()();return l&&t.push.apply(t,l),e()},u=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function i(){for(var e,o=0;o<t.length;o++){for(var u=t[o],i=!0,c=1;c<u.length;c++){var f=u[c];0!==n[f]&&(i=!1)}i&&(t.splice(o--,1),e=r(r.s=u[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}u.forEach(o.bind(null,0)),u.push=o.bind(null,u.push.bind(u));var c=r.x;r.x=function(){return r.x=c||function(){},(e=i)()}}(),r.x()}(); !function(){var n={6814:function(n,t,r){"use strict";(0,r(2667).X)()},8416:function(n,t,r){var e=r(4835).Dispatcher;n.exports=new e},9009:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){"use strict";function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function u(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return u}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){"use strict";r(2322),r(9268)},4135:function(n,t,r){"use strict";r(717),r(6660)},6203:function(n,t,r){"use strict";r(2322),r(9268),r(3233)},8420:function(n,t,r){"use strict";r.d(t,{A_:function(){return e.Z},v$:function(){return u.Z}});var e=r(1712),u=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},9752:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},84:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){"use strict";r.d(t,{sc:function(){return i},Zr:function(){return c},vh:function(){return o},Qb:function(){return s}});var e=r(8416),u=r.n(e);function i(){u().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function c(n){u().dispatch({type:"INIT_SIDEBAR",page:n})}function o(n){u().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function s(n){u().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={exports:{}};return n[e].call(u.exports,u,u.exports,r),u.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=443,function(){var n={443:0},t=[[6814,431]],e=function(){},u=function(u,i){for(var c,o,s=i[0],f=i[1],a=i[2],p=i[3],l=0,h=[];l<s.length;l++)o=s[l],r.o(n,o)&&n[o]&&h.push(n[o][0]),n[o]=0;for(c in f)r.o(f,c)&&(r.m[c]=f[c]);for(a&&a(r),u&&u(i);h.length;)h.shift()();return p&&t.push.apply(t,p),e()},i=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function c(){for(var e,u=0;u<t.length;u++){for(var i=t[u],c=!0,o=1;o<i.length;o++){var s=i[o];0!==n[s]&&(c=!1)}c&&(t.splice(u--,1),e=r(r.s=i[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}i.forEach(u.bind(null,0)),i.push=u.bind(null,i.push.bind(i));var o=r.x;r.x=function(){return r.x=o||function(){},(e=c)()}}(),r.x()}();

View File

@ -1 +1 @@
!function(){"use strict";var n={2772:function(n,t,r){(0,r(2667).X)()},9009:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function o(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return o}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){r(2322),r(9268)},4135:function(n,t,r){r(717),r(6660)},6203:function(n,t,r){r(2322),r(9268),r(3233)},8420:function(n,t,r){r.d(t,{A_:function(){return e.Z},v$:function(){return o.Z}});var e=r(1712),o=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},84:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){r.d(t,{sc:function(){return u},Zr:function(){return i},vh:function(){return c},Qb:function(){return f}});var e=r(8416),o=r.n(e);function u(){o().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function i(n){o().dispatch({type:"INIT_SIDEBAR",page:n})}function c(n){o().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function f(n){o().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{}};return n[e].call(o.exports,o,o.exports,r),o.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=841,function(){var n={841:0},t=[[2772,431]],e=function(){},o=function(o,u){for(var i,c,f=u[0],s=u[1],a=u[2],l=u[3],p=0,d=[];p<f.length;p++)c=f[p],r.o(n,c)&&n[c]&&d.push(n[c][0]),n[c]=0;for(i in s)r.o(s,i)&&(r.m[i]=s[i]);for(a&&a(r),o&&o(u);d.length;)d.shift()();return l&&t.push.apply(t,l),e()},u=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function i(){for(var e,o=0;o<t.length;o++){for(var u=t[o],i=!0,c=1;c<u.length;c++){var f=u[c];0!==n[f]&&(i=!1)}i&&(t.splice(o--,1),e=r(r.s=u[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}u.forEach(o.bind(null,0)),u.push=o.bind(null,u.push.bind(u));var c=r.x;r.x=function(){return r.x=c||function(){},(e=i)()}}(),r.x()}(); !function(){var n={2772:function(n,t,r){"use strict";(0,r(2667).X)()},8416:function(n,t,r){var e=r(4835).Dispatcher;n.exports=new e},9009:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){"use strict";function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function u(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return u}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){"use strict";r(2322),r(9268)},4135:function(n,t,r){"use strict";r(717),r(6660)},6203:function(n,t,r){"use strict";r(2322),r(9268),r(3233)},8420:function(n,t,r){"use strict";r.d(t,{A_:function(){return e.Z},v$:function(){return u.Z}});var e=r(1712),u=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},9752:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},84:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){"use strict";r.d(t,{sc:function(){return i},Zr:function(){return c},vh:function(){return o},Qb:function(){return s}});var e=r(8416),u=r.n(e);function i(){u().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function c(n){u().dispatch({type:"INIT_SIDEBAR",page:n})}function o(n){u().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function s(n){u().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={exports:{}};return n[e].call(u.exports,u,u.exports,r),u.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=841,function(){var n={841:0},t=[[2772,431]],e=function(){},u=function(u,i){for(var c,o,s=i[0],f=i[1],a=i[2],p=i[3],l=0,h=[];l<s.length;l++)o=s[l],r.o(n,o)&&n[o]&&h.push(n[o][0]),n[o]=0;for(c in f)r.o(f,c)&&(r.m[c]=f[c]);for(a&&a(r),u&&u(i);h.length;)h.shift()();return p&&t.push.apply(t,p),e()},i=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function c(){for(var e,u=0;u<t.length;u++){for(var i=t[u],c=!0,o=1;o<i.length;o++){var s=i[o];0!==n[s]&&(c=!1)}c&&(t.splice(u--,1),e=r(r.s=i[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}i.forEach(u.bind(null,0)),i.push=u.bind(null,i.push.bind(i));var o=r.x;r.x=function(){return r.x=o||function(){},(e=c)()}}(),r.x()}();

View File

@ -1 +1 @@
!function(){"use strict";var n={9980:function(n,t,r){(0,r(2667).X)()},9009:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function o(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return o}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){r(2322),r(9268)},4135:function(n,t,r){r(717),r(6660)},6203:function(n,t,r){r(2322),r(9268),r(3233)},8420:function(n,t,r){r.d(t,{A_:function(){return e.Z},v$:function(){return o.Z}});var e=r(1712),o=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},84:function(n,t,r){r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){r.d(t,{sc:function(){return u},Zr:function(){return i},vh:function(){return c},Qb:function(){return f}});var e=r(8416),o=r.n(e);function u(){o().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function i(n){o().dispatch({type:"INIT_SIDEBAR",page:n})}function c(n){o().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function f(n){o().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{}};return n[e].call(o.exports,o,o.exports,r),o.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=348,function(){var n={348:0},t=[[9980,431]],e=function(){},o=function(o,u){for(var i,c,f=u[0],s=u[1],a=u[2],l=u[3],p=0,d=[];p<f.length;p++)c=f[p],r.o(n,c)&&n[c]&&d.push(n[c][0]),n[c]=0;for(i in s)r.o(s,i)&&(r.m[i]=s[i]);for(a&&a(r),o&&o(u);d.length;)d.shift()();return l&&t.push.apply(t,l),e()},u=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function i(){for(var e,o=0;o<t.length;o++){for(var u=t[o],i=!0,c=1;c<u.length;c++){var f=u[c];0!==n[f]&&(i=!1)}i&&(t.splice(o--,1),e=r(r.s=u[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}u.forEach(o.bind(null,0)),u.push=o.bind(null,u.push.bind(u));var c=r.x;r.x=function(){return r.x=c||function(){},(e=i)()}}(),r.x()}(); !function(){var n={9980:function(n,t,r){"use strict";(0,r(2667).X)()},8416:function(n,t,r){var e=r(4835).Dispatcher;n.exports=new e},9009:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8024:function(n,t,r){"use strict";function e(n,t){n.classList?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function u(n,t){n.classList?n.classList.add(t):n.className+=" "+t}r.d(t,{dt:function(){return e},Ec:function(){return u}}),r(7441),r(7390),r(2322),r(4669),r(3296),r(9268)},3140:function(n,t,r){"use strict";r(2322),r(9268)},4135:function(n,t,r){"use strict";r(717),r(6660)},6203:function(n,t,r){"use strict";r(2322),r(9268),r(3233)},8420:function(n,t,r){"use strict";r.d(t,{A_:function(){return e.Z},v$:function(){return u.Z}});var e=r(1712),u=(r(9752),r(84),r(9009),r(1438));r(4135),r(3140),r(1752),r(7514),r(1569),r(6203),r(7188)},9752:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},84:function(n,t,r){"use strict";r(6394),r(5334),r(7588),r(4559),r(6028)},8349:function(n,t,r){"use strict";r.d(t,{sc:function(){return i},Zr:function(){return c},vh:function(){return o},Qb:function(){return s}});var e=r(8416),u=r.n(e);function i(){u().dispatch({type:"TOGGLE_PAGE_SIDEBAR"})}function c(n){u().dispatch({type:"INIT_SIDEBAR",page:n})}function o(n){u().dispatch({type:"TOGGLE_MOBILE_SEARCH_FIELD",open:n})}function s(n){u().dispatch({type:"TOGGLE_DARK_THEME"})}}},t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={exports:{}};return n[e].call(u.exports,u,u.exports,r),u.exports}r.m=n,r.x=function(){},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.j=348,function(){var n={348:0},t=[[9980,431]],e=function(){},u=function(u,i){for(var c,o,s=i[0],f=i[1],a=i[2],p=i[3],l=0,h=[];l<s.length;l++)o=s[l],r.o(n,o)&&n[o]&&h.push(n[o][0]),n[o]=0;for(c in f)r.o(f,c)&&(r.m[c]=f[c]);for(a&&a(r),u&&u(i);h.length;)h.shift()();return p&&t.push.apply(t,p),e()},i=self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[];function c(){for(var e,u=0;u<t.length;u++){for(var i=t[u],c=!0,o=1;o<i.length;o++){var s=i[o];0!==n[s]&&(c=!1)}c&&(t.splice(u--,1),e=r(r.s=i[0]))}return 0===t.length&&(r.x(),r.x=function(){}),e}i.forEach(u.bind(null,0)),i.push=u.bind(null,i.push.bind(i));var o=r.x;r.x=function(){return r.x=o||function(){},(e=c)()}}(),r.x()}();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
static/js/playlist.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

17
templates/cms/playlist.html Executable file
View File

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% load static %}
{% block headtitle %}Playlist - {{PORTAL_NAME}}{% endblock headtitle %}
{% block topimports %}
<link href="{% static "css/playlist.css" %}" rel="preload" as="style">
<link href="{% static "css/playlist.css" %}" rel="stylesheet">
{%endblock topimports %}
{% block content %}
{% if user %}<div id="page-playlist"></div>{% endif %}
{% endblock %}
{% block bottomimports %}
<script src="{% static "js/playlist.js" %}"></script>
{% endblock bottomimports %}

View File

@ -0,0 +1,33 @@
{% extends "base.html" %}
{% load static %}
{% block headtitle %}{% if user.name %}{{user.name}} - {% endif %}Playlists - {{PORTAL_NAME}}{% endblock headtitle %}
{% block headermeta %}
<meta property="og:title" content="{% if user.name %}{{user.name}} - {% endif %}Playlists - {{PORTAL_NAME}}">
<meta property="og:type" content="website">
<meta property="og:description" content="">
<meta name="twitter:card" content="summary">
{% endblock headermeta %}
{% block topimports %}
<link href="{% static "css/profile-playlists.css" %}" rel="preload" as="style">
<link href="{% static "css/profile-playlists.css" %}" rel="stylesheet">
{%endblock topimports %}
{% block innercontent %}
{% if user %}{% else %}
No such user
{% endif %}
{% endblock %}
{% block content %}
{% if user %}<div id="page-profile-playlists"></div>{% endif %}
{% endblock %}
{% block bottomimports %}
<script src="{% static "js/profile-playlists.js" %}"></script>
{% endblock bottomimports %}

View File

@ -17,6 +17,7 @@ MediaCMS.features = {
dislike: {% if CAN_DISLIKE_MEDIA %}true{% else %}false{% endif %}, dislike: {% if CAN_DISLIKE_MEDIA %}true{% else %}false{% endif %},
download: true, download: true,
comment: true, comment: true,
save: true,
}, },
shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ], shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ],
}, },
@ -25,4 +26,4 @@ MediaCMS.features = {
hideViews: false, hideViews: false,
hideAuthor: false, hideAuthor: false,
}, },
}; };

View File

@ -6,6 +6,9 @@ MediaCMS.pages = {
}, },
}, },
}, },
search:{
advancedFilters: true,
},
media: { media: {
categoriesWithTitle: false, categoriesWithTitle: false,
htmlInDescription: false, htmlInDescription: false,