membershipworks: Rename "Upcoming Events" to indicate Wordpress relation
This commit is contained in:
parent
babe973863
commit
9efee41aba
@ -13,10 +13,9 @@ class MembershipworksDashboardFragment(dashboard.LinksCardDashboardFragment):
|
||||
def links(self):
|
||||
links = [
|
||||
Link(
|
||||
"Upcoming Events",
|
||||
reverse("membershipworks:upcoming-events"),
|
||||
"Upcoming Events WordPress Post Generator",
|
||||
reverse("membershipworks:upcoming-events-wordpress"),
|
||||
permission="membershipworks.view_event",
|
||||
tooltip="Generator for Wordpress posts",
|
||||
),
|
||||
Link(
|
||||
"Event Report",
|
||||
|
@ -11,9 +11,9 @@ urlpatterns = [
|
||||
name="member-autocomplete",
|
||||
),
|
||||
path(
|
||||
"upcoming-events/",
|
||||
views.upcoming_events,
|
||||
name="upcoming-events",
|
||||
"upcoming-events-wordpress/",
|
||||
views.upcoming_events_wordpress,
|
||||
name="upcoming-events-wordpress",
|
||||
),
|
||||
path(
|
||||
"event-report/",
|
||||
|
@ -68,7 +68,7 @@ class MemberAutocomplete(autocomplete.Select2QuerySetView):
|
||||
|
||||
|
||||
@permission_required("membershipworks.view_eventext")
|
||||
def upcoming_events(request):
|
||||
def upcoming_events_wordpress(request):
|
||||
now = datetime.now()
|
||||
|
||||
membershipworks = MembershipWorks()
|
||||
|
Loading…
Reference in New Issue
Block a user