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

fix: Partially enhance event dashboard #5139

Merged
merged 10 commits into from
Nov 3, 2020
1 change: 0 additions & 1 deletion app/models/social-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default ModelBase.extend({
identifier : attr('string'), // used for providing css id for URL validations.

event: belongsTo('event'),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you delete the line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamareebjamal according to this
1

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a difference between a space and a line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamareebjamal now no error

normalizedName: computed('name', function() {
// Even though name is required for social links and is non-nullable
// and non-null name is being sent from API, for some reason, for certain events,
Expand Down
11 changes: 0 additions & 11 deletions app/templates/components/events/view/overview/general-info.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@
<div class="content">
<table class="ui very basic table">
<tbody>
<tr>
<td><strong>{{t 'No. of Revisions'}}</strong></td>
<td>
<div class="muted text">
{{t 'Coming Soon'}}
</div>
{{!-- This feature is not completely available for roll out so it would pointless to diplay a dummy slidebar <a {{action 'openModal'}} role="button">
{{t '(View Revisions)'}}
</a> --}}
</td>
</tr>
<tr>
<td><strong>{{t 'Location'}}</strong></td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/public/social-links.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="item">
<i class="share fitted disabled icon"></i>
<div class="content">
<a href="{{this.externalUrl}}" target="_blank" rel="noopener nofollow">{{t 'External event URL'}}</a>
<a href="{{this.externalUrl}}" target="_blank" rel="noopener nofollow">{{t 'Event Site'}}</a>
</div>
</div>
{{/if}}
Expand Down