Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angusmcleod/discourse-events
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0f8f2ddb8d3a4860f34a0aae8e9ab57168594f1e
Choose a base ref
..
head repository: angusmcleod/discourse-events
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae1fcd8f033761a03db2a15d5c874d097dc8770d
Choose a head ref
Showing with 8 additions and 30 deletions.
  1. +8 −30 assets/javascripts/discourse/initializers/discourse-events.js
38 changes: 8 additions & 30 deletions assets/javascripts/discourse/initializers/discourse-events.js
Original file line number Diff line number Diff line change
@@ -350,21 +350,10 @@ export default {
) {
api.addCommunitySectionLink((baseSectionLink) => {
return class EventsCalendarSectionLink extends baseSectionLink {
get name() {
return "calendar-link";
}

get route() {
return "discovery.calendar";
}

get text() {
return I18n.t("filters.calendar.title");
}

get title() {
return I18n.t("filters.calendar.title");
}
name = "calendar-link";
route = "discovery.calendar";
text = I18n.t("filters.calendar.title");
title = I18n.t("filters.calendar.title");
};
});
} else {
@@ -386,21 +375,10 @@ export default {
) {
api.addCommunitySectionLink((baseSectionLink) => {
return class EventsAgendaSectionLink extends baseSectionLink {
get name() {
return "agenda-link";
}

get route() {
return "discovery.agenda";
}

get text() {
return I18n.t("filters.agenda.title");
}

get title() {
return I18n.t("filters.agenda.title");
}
name = "agenda-link";
route = "discovery.agenda";
text = I18n.t("filters.agenda.title");
title = I18n.t("filters.agenda.title");
};
});
} else {