nouvelle nouvelle
This commit is contained in:
1 parent
63cbf51af8
commit
e93e54df8e
3 files changed
+29
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
define(['m', 'articles/nouveau_comite', 'articles/inscription_2019' ], function (m, nouveau_comite, inscription_2019) {
|
||||
define(['m', 'articles/nouveau_comite', 'articles/inscription_2019', 'articles/inscription_2019_rappel' ], function (m, nouveau_comite, inscription_2019, inscription_2019_rappel) {
|
||||
var simplifyArticleStructure = function(article){
|
||||
var ret = {};
|
||||
_.each(article, function(section, sectionName){
|
||||
@@ -8,8 +8,9 @@ define(['m', 'articles/nouveau_comite', 'articles/inscription_2019' ], function
|
||||
};
|
||||
|
||||
var articles = [
|
||||
inscription_2019_rappel,
|
||||
inscription_2019,
|
||||
nouveau_comite
|
||||
nouveau_comite
|
||||
|
||||
];
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
|
||||
m('div.uk-panel-badge.uk-badge', [
|
||||
m('i.fa.fa-newspaper-o', {style: {'font-size': '1.7em'}})
|
||||
]),
|
||||
mainPageNews.showMiniArticle(_.get(articles, 0, {})),
|
||||
mainPageNews.showMiniArticle(_.get(articles, 1, {})),
|
||||
mainPageNews.showMiniArticle(_.get(articles, 0, {}))
|
||||
]);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user