Fix trans
This commit is contained in:
parent
eb36ed4f79
commit
9ce925fd6a
3 changed files with 64 additions and 63 deletions
|
@ -40,7 +40,7 @@ class NotificationList(ListView):
|
|||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context["unseen_count"] = self.unseen_cnt
|
||||
context["title"] = _("Notifications (%d unseen)" % context["unseen_count"])
|
||||
context["title"] = _("Notifications (%d unseen)") % context["unseen_count"]
|
||||
context["has_notifications"] = self.queryset.exists()
|
||||
return context
|
||||
|
||||
|
|
|
@ -624,10 +624,7 @@ class OrganizationRequestBaseView(
|
|||
return organization
|
||||
|
||||
def get_content_title(self):
|
||||
href = reverse("organization_home", args=[self.object.id, self.object.slug])
|
||||
return mark_safe(
|
||||
f'Manage join requests for <a href="{href}">{self.object.name}</a>'
|
||||
)
|
||||
return _("Manage join requests")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(OrganizationRequestBaseView, self).get_context_data(**kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue