From 55ea898b9b98584496b55ee274f764eb7acadc5e Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Wed, 11 Dec 2019 17:02:06 +0100
Subject: [PATCH] Move apimail static from scipost app to apimail app

---
 .../static/apimail}/assets/vue/components/MessageContent.vue    | 2 +-
 .../static/apimail}/assets/vue/components/MessageHeaderList.vue | 0
 .../apimail}/assets/vue/components/MessageHeaderListItem.vue    | 0
 .../static/apimail}/assets/vue/message_list.js                  | 0
 webpack.dev.config.js                                           | 2 +-
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename {scipost/static/scipost => apimail/static/apimail}/assets/vue/components/MessageContent.vue (95%)
 rename {scipost/static/scipost => apimail/static/apimail}/assets/vue/components/MessageHeaderList.vue (100%)
 rename {scipost/static/scipost => apimail/static/apimail}/assets/vue/components/MessageHeaderListItem.vue (100%)
 rename {scipost/static/scipost => apimail/static/apimail}/assets/vue/message_list.js (100%)

diff --git a/scipost/static/scipost/assets/vue/components/MessageContent.vue b/apimail/static/apimail/assets/vue/components/MessageContent.vue
similarity index 95%
rename from scipost/static/scipost/assets/vue/components/MessageContent.vue
rename to apimail/static/apimail/assets/vue/components/MessageContent.vue
index 73721fe6f..ec6925b25 100644
--- a/scipost/static/scipost/assets/vue/components/MessageContent.vue
+++ b/apimail/static/apimail/assets/vue/components/MessageContent.vue
@@ -26,7 +26,7 @@
 	    </li>
 	  </ul>
 	</div>
-	<b-button v-b-toggle="'message-json'" class="px-2 py-0">
+	<b-button v-b-toggle="'message-json'" class="mt-2 px-2 py-0">
 	  <small>View message JSON</small>
 	</b-button>
 	<b-collapse id="message-json" class="m-2">
diff --git a/scipost/static/scipost/assets/vue/components/MessageHeaderList.vue b/apimail/static/apimail/assets/vue/components/MessageHeaderList.vue
similarity index 100%
rename from scipost/static/scipost/assets/vue/components/MessageHeaderList.vue
rename to apimail/static/apimail/assets/vue/components/MessageHeaderList.vue
diff --git a/scipost/static/scipost/assets/vue/components/MessageHeaderListItem.vue b/apimail/static/apimail/assets/vue/components/MessageHeaderListItem.vue
similarity index 100%
rename from scipost/static/scipost/assets/vue/components/MessageHeaderListItem.vue
rename to apimail/static/apimail/assets/vue/components/MessageHeaderListItem.vue
diff --git a/scipost/static/scipost/assets/vue/message_list.js b/apimail/static/apimail/assets/vue/message_list.js
similarity index 100%
rename from scipost/static/scipost/assets/vue/message_list.js
rename to apimail/static/apimail/assets/vue/message_list.js
diff --git a/webpack.dev.config.js b/webpack.dev.config.js
index a485a453d..77f96b355 100644
--- a/webpack.dev.config.js
+++ b/webpack.dev.config.js
@@ -20,7 +20,7 @@ module.exports = {
             "./scipost/static/scipost/assets/js/newsticker.js",
         ],
 	vue: [
-            "./scipost/static/scipost/assets/vue/message_list.js",
+            "./apimail/static/apimail/assets/vue/message_list.js",
 	],
     },
     output: {
-- 
GitLab