diff --git a/src/app/components/article-service/article.service.js b/src/app/components/article-service/article.service.js
index 8dc4279..78260bb 100644
--- a/src/app/components/article-service/article.service.js
+++ b/src/app/components/article-service/article.service.js
@@ -145,7 +145,7 @@
var url = service.apiCommunities + community_id + '/articles';
var paramsExtended = angular.extend({
- 'fields[]': ['id', 'slug', 'title', 'abstract', 'body', 'categories', 'created_at', 'start_date', 'end_date', 'hits'],
+ // 'fields[]': ['id', 'slug', 'title', 'abstract', 'body', 'categories', 'created_at', 'start_date', 'end_date', 'hits'],
'content_type':'Event'
}, params);
diff --git a/src/app/components/event-list/event-list.html b/src/app/components/event-list/event-list.html
index 336ac8f..15e75dd 100644
--- a/src/app/components/event-list/event-list.html
+++ b/src/app/components/event-list/event-list.html
@@ -46,17 +46,28 @@
-
+ |
+
{{event.start_date | date : "dd/MM/yyyy"}}
-
+
{{event.start_date | date : "HH:mm"}}
-
- [DESCRIÇÃO]
+ {{::event.title}}
+ |
+
+ {{::event.categories[0].name}}
+ |
+
+ (?)
+
+ Inscritos
+ |
+
- 123 inscritos
|
diff --git a/src/app/components/event-list/event-list.scss b/src/app/components/event-list/event-list.scss
index 07cf9b3..fc25710 100644
--- a/src/app/components/event-list/event-list.scss
+++ b/src/app/components/event-list/event-list.scss
@@ -11,7 +11,7 @@
.event-list--panel {
height: 310px;
- padding: 20px;
+ padding: 0px;
margin: 20px 0;
line-height: 20px;
transition: .3s linear all;
@@ -43,6 +43,10 @@
// }
}
+ &--table{
+ margin-bottom: 0;
+ }
+
.event-tab--trigger {
$event-tab-height: 130px;
width: 150px;
@@ -101,7 +105,7 @@
.table-responsive {
width: 100%;
- height: 240px;
+ height: 280px;
overflow-y: scroll;
.btn {
@@ -116,6 +120,10 @@
tr:last-child > td {
border-bottom: 1px solid #ccc;
}
+
+ td {
+ vertical-align: middle;
+ }
}
.event-tab--icon {
--
libgit2 0.21.2