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):
|
def links(self):
|
||||||
links = [
|
links = [
|
||||||
Link(
|
Link(
|
||||||
"Upcoming Events",
|
"Upcoming Events WordPress Post Generator",
|
||||||
reverse("membershipworks:upcoming-events"),
|
reverse("membershipworks:upcoming-events-wordpress"),
|
||||||
permission="membershipworks.view_event",
|
permission="membershipworks.view_event",
|
||||||
tooltip="Generator for Wordpress posts",
|
|
||||||
),
|
),
|
||||||
Link(
|
Link(
|
||||||
"Event Report",
|
"Event Report",
|
||||||
|
@ -11,9 +11,9 @@ urlpatterns = [
|
|||||||
name="member-autocomplete",
|
name="member-autocomplete",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"upcoming-events/",
|
"upcoming-events-wordpress/",
|
||||||
views.upcoming_events,
|
views.upcoming_events_wordpress,
|
||||||
name="upcoming-events",
|
name="upcoming-events-wordpress",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"event-report/",
|
"event-report/",
|
||||||
|
@ -68,7 +68,7 @@ class MemberAutocomplete(autocomplete.Select2QuerySetView):
|
|||||||
|
|
||||||
|
|
||||||
@permission_required("membershipworks.view_eventext")
|
@permission_required("membershipworks.view_eventext")
|
||||||
def upcoming_events(request):
|
def upcoming_events_wordpress(request):
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
|
|
||||||
membershipworks = MembershipWorks()
|
membershipworks = MembershipWorks()
|
||||||
|
Loading…
Reference in New Issue
Block a user