Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class EventsMongoServiceImpl
.populate('leaders', 'name displayName profile')
.populate({
path: 'presentations',
select: 'title owner',
select: 'title description owner',
populate: {
path: 'owner',
select: 'displayName profile',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,22 @@ <h3>
</ng-template>
</mat-tab>
@if (event.presentations.length) {
<mat-tab label="Agenda">
<mat-tab label="Apresentações">
<ng-template matTabContent>
<mat-list>
@for (presentation of event.presentations; track presentation) {
<mat-list-item>
<a
mat-list-item
[routerLink]="['/', 'apresentacoes', { outlets: { right: [presentation.id] } }]"
lines="3"
>
<devmx-icon matListItemIcon name="presentation" />
<div matListItemTitle>{{ presentation.title }}</div>
<div matListItemLine>{{ presentation.owner.displayName }}</div>
<div matListItemTitle>
{{ presentation.title }}, por {{ presentation.owner.displayName}}
</div>
<span matListItemLine> {{ presentation.description }} </span>
<devmx-heart-button matListItemMeta disabled [loved]="false" />
</mat-list-item>
</a>
}
</mat-list>
</ng-template>
Expand All @@ -71,10 +77,6 @@ <h3>
<mat-tab label="Organizadores">
<ng-template matTabContent>
<mat-list>
<mat-list-item>
<devmx-icon matListItemIcon name="user-circle" />
<div matListItemTitle>{{ event.owner.displayName }}</div>
</mat-list-item>
@if (event.leaders.length) {
<!-- -->
@for (leader of event.leaders; track leader) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class PresentationContainer {
if (value.id) this.presentationFacade.update(value);
else this.presentationFacade.create(value);

const message = `Armazenando informações`;
const message = `Informações salvas`;
return this.messageService.open({ message });
}

Expand Down
Loading