Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: link event logo and name to event dashboard #4904

Merged
merged 2 commits into from Sep 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 9 additions & 4 deletions app/templates/components/ui-table/cell/cell-event-general.hbs
@@ -1,7 +1,12 @@
<div class="ui header weight-400">
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{this.record}}
</div>
<div class="ui horizontal large basic buttons">
<LinkTo @route="events.view" @model={{this.extraRecords.identifier}}>
<div class="ui header">
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image">
</div>
<p class="ui header weight-400">
{{this.record}}
</p>
</LinkTo>
<div class="ui horizontal attendees-margin large basic buttons">
<LinkTo @route="events.view" @model={{this.extraRecords.identifier}}>
<UiPopup @content={{t "Event Dashboard"}} @class="ui icon button" @position="top center">
<i class="tasks icon"></i>
Expand Down