Skip to content

Commit

Permalink
fix: page media collection edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Apr 19, 2021
1 parent e79bdce commit addac3c
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 15 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='unicms-editorial-board',
version='0.6.0',
version='0.6.1',

packages=[PKG_NAME],
package_dir={PKG_NAME: f"{SRC_FOLDER}/{PKG_NAME}"},
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
self.__precacheManifest = [
{
"revision": "03965f86e6f2facce15c",
"revision": "ffad54f3ee0ab01cf7c2",
"url": "/static/unicms_editorial_board_vue/css/app.bca404fa.css"
},
{
"revision": "03965f86e6f2facce15c",
"url": "/static/unicms_editorial_board_vue/js/app.9673908c.js"
"revision": "ffad54f3ee0ab01cf7c2",
"url": "/static/unicms_editorial_board_vue/js/app.f9d50c0d.js"
},
{
"revision": "9c41a8a956028c357565",
Expand All @@ -16,7 +16,7 @@ self.__precacheManifest = [
"url": "/static/unicms_editorial_board_vue/js/chunk-vendors.b3ebd97f.js"
},
{
"revision": "9d4bd31f675cdf60c3025468ce15192f",
"revision": "0a6124f2d94ee297c8b85c404c57e600",
"url": "/static/unicms_editorial_board_vue/index.html"
},
{
Expand Down Expand Up @@ -95,14 +95,14 @@ self.__precacheManifest = [
"revision": "6be21e8a1b7d63048728851c6003e189",
"url": "/static/unicms_editorial_board_vue/img/sidebar-1.jpg"
},
{
"revision": "897b4cf909210560a84398d36da51983",
"url": "/static/unicms_editorial_board_vue/img/sidebar-4.jpg"
},
{
"revision": "cd253e23ed052deeb80b42d2ed772183",
"url": "/static/unicms_editorial_board_vue/img/sidebar-3.jpg"
},
{
"revision": "897b4cf909210560a84398d36da51983",
"url": "/static/unicms_editorial_board_vue/img/sidebar-4.jpg"
},
{
"revision": "44bf13a71a4db6e15913fe8af9296711",
"url": "/static/unicms_editorial_board_vue/img/tim_80x80.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts(
"/static/unicms_editorial_board_vue/precache-manifest.0b1997c17168a59896837b3fd8d1fab5.js"
"/static/unicms_editorial_board_vue/precache-manifest.36275ed39f8a13f6ea514add29e67065.js"
);

workbox.core.setCacheNameDetails({prefix: "vue-light-bootstrap-dashboard"});
Expand Down
2 changes: 1 addition & 1 deletion src/unicms_editorial_board/templates/board.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><link rel="apple-touch-icon" sizes="76x76" href="/static/unicms_editorial_board_vue/apple-icon.png"><!--[if IE]><link rel="icon" type="image/png" sizes="96x96" href="/static/unicms_editorial_board_vue/favicon.png"><![endif]--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>uniCMS - Editorial Board</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.bca404fa.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.25bdde32.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/js/app.9673908c.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/js/chunk-vendors.b3ebd97f.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.25bdde32.css" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.bca404fa.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/static/unicms_editorial_board_vue/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/static/unicms_editorial_board_vue/img/icons/favicon-16x16.png"><link rel="manifest" href="/static/unicms_editorial_board_vue/manifest.json"><meta name="theme-color" content="#344675"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="#344675"><meta name="apple-mobile-web-app-title" content="uniCMS - Unical Editorial Board"><link rel="apple-touch-icon" href="/static/unicms_editorial_board_vue/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/static/unicms_editorial_board_vue/img/icons/safari-pinned-tab.svg" color="#344675"><meta name="msapplication-TileImage" content="/static/unicms_editorial_board_vue/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#344675"></head><body><div id="app"></div><script src="/static/unicms_editorial_board_vue/js/chunk-vendors.b3ebd97f.js"></script><script src="/static/unicms_editorial_board_vue/js/app.9673908c.js"></script></body></html>
<!DOCTYPE html><html><head><meta charset="utf-8"><link rel="apple-touch-icon" sizes="76x76" href="/static/unicms_editorial_board_vue/apple-icon.png"><!--[if IE]><link rel="icon" type="image/png" sizes="96x96" href="/static/unicms_editorial_board_vue/favicon.png"><![endif]--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>uniCMS - Editorial Board</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.bca404fa.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.25bdde32.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/js/app.f9d50c0d.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/js/chunk-vendors.b3ebd97f.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.25bdde32.css" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.bca404fa.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/static/unicms_editorial_board_vue/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/static/unicms_editorial_board_vue/img/icons/favicon-16x16.png"><link rel="manifest" href="/static/unicms_editorial_board_vue/manifest.json"><meta name="theme-color" content="#344675"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="#344675"><meta name="apple-mobile-web-app-title" content="uniCMS - Unical Editorial Board"><link rel="apple-touch-icon" href="/static/unicms_editorial_board_vue/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/static/unicms_editorial_board_vue/img/icons/safari-pinned-tab.svg" color="#344675"><meta name="msapplication-TileImage" content="/static/unicms_editorial_board_vue/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#344675"></head><body><div id="app"></div><script src="/static/unicms_editorial_board_vue/js/chunk-vendors.b3ebd97f.js"></script><script src="/static/unicms_editorial_board_vue/js/app.f9d50c0d.js"></script></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
variant="secondary"></b-icon>
Media
</router-link>
<router-link :to="{ name: 'WebpathPageMediaCollections',
params: { site_id: site_id,
webpath_id: webpath_id,
page_id: page_id }}"
class="btn btn-outline-secondary mx-md-1 btn-sm">
<b-icon icon="images"
variant="secondary"></b-icon>
Galleries
</router-link>
<router-link :to="{ name: 'WebpathPageMenus',
params: { site_id: site_id,
webpath_id: webpath_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
.get(source)
.then(response => {
for (const [key, value] of Object.entries(response.data)) {
if(key=='media')
if(key=='collection')
this.$set(this.form, key, value.id)
else this.$set(this.form, key, value)
}
Expand Down

0 comments on commit addac3c

Please sign in to comment.