From bc09c8f16726f520c116e158ef3390dc84736bd2 Mon Sep 17 00:00:00 2001 From: jpl Date: Thu, 13 Apr 2017 16:07:09 +0200 Subject: Refs #2982: starting with reactux integration --- .../time_tables/components/Metas.js | 56 +++++++++++++++------- 1 file changed, 38 insertions(+), 18 deletions(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/es6_browserified/time_tables/components/Metas.js b/app/assets/javascripts/es6_browserified/time_tables/components/Metas.js index 3bb763c71..1440dcb1d 100644 --- a/app/assets/javascripts/es6_browserified/time_tables/components/Metas.js +++ b/app/assets/javascripts/es6_browserified/time_tables/components/Metas.js @@ -11,27 +11,47 @@ const reorderArray = (arr) =>{ const Metas = ({day_types}) => { day_types = reorderArray(day_types) return ( -
-

Metas

-
- {day_types.map((day, i) => -
-
- +
+
+
+ {/* comment (name) */} +
+ + {/* color */} +
+ + {/* tags */} +
+ + {/* day_types */} +
+ +
+
+ {day_types.map((day, i) => +
+
+ +
+
+ )}
- )} +
+
) } -- cgit v1.2.3