Skip to content

Commit

Permalink
fix for None text on org create button
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jan 23, 2025
1 parent 5ce30cf commit 0ecb9f5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
{% block save_text %}
{%- if action == "edit" -%}
{%- if 'humanize_entity_type' in h -%}
{{ h.humanize_entity_type('organization', group_type, 'update label') }}
{{ h.humanize_entity_type('organization', group_type, 'update label') or _('Update Organization') }}
{%- else -%}
{{ _('Update Organization') }}
{%- endif -%}
{%- else -%}
{%- if 'humanize_entity_type' in h -%}
{{ h.humanize_entity_type('organization', group_type, 'create label') }}
{{ h.humanize_entity_type('organization', group_type, 'create label') or _('Create Organization') }}
{%- else -%}
{{ _('Create Organization') }}
{%- endif -%}
Expand Down

0 comments on commit 0ecb9f5

Please sign in to comment.