Skip to content

Commit

Permalink
Fix modal title
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Oct 17, 2024
1 parent 358575d commit 80aeb60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions temba/orgs/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
SmartCRUDL,
SmartDeleteView,
SmartFormView,
SmartListView,
SmartReadView,
SmartTemplateView,
SmartUpdateView,
Expand Down Expand Up @@ -1478,7 +1477,9 @@ class List(RequireFeatureMixin, ContextMenuMixin, BaseListView):

def build_context_menu(self, menu):
if self.has_org_perm("orgs.org_create"):
menu.add_modax(_("New"), "new_workspace", reverse("orgs.org_create"), as_button=True)
menu.add_modax(
_("New"), "new_workspace", reverse("orgs.org_create"), title=_("New Workspace"), as_button=True
)

def derive_queryset(self, **kwargs):
qs = super(BaseListView, self).derive_queryset(**kwargs)
Expand Down

0 comments on commit 80aeb60

Please sign in to comment.