Add draft feature

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-02 17:59:07 +02:00
parent b96f3bc3ad
commit 442a011490
22 changed files with 587 additions and 66 deletions

View File

@@ -15,7 +15,7 @@
</div>
<h2 class="title" ref="title">{{ event.title }}</h2>
</div>
<span>
<span class="organizer-place-wrapper">
<span v-if="actorDisplayName && actorDisplayName !== '@'">{{ $t('By {name}', { name: actorDisplayName }) }}</span>
<span v-if="event.physicalAddress && (event.physicalAddress.locality || event.physicalAddress.description)">
- {{ event.physicalAddress.locality || event.physicalAddress.description }}
@@ -142,6 +142,17 @@ export default class EventCard extends Vue {
line-height: 1em;
font-size: 1.6em;
padding-bottom: 5px;
margin-top: auto;
}
}
span.organizer-place-wrapper {
display: flex;
span:last-child {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}