diff --git a/app/templates/community/community.html b/app/templates/community/community.html index 475231ab..ae476993 100644 --- a/app/templates/community/community.html +++ b/app/templates/community/community.html @@ -95,11 +95,11 @@
{% if current_user.is_authenticated and community_membership(current_user, community) in [SUBSCRIPTION_MEMBER, SUBSCRIPTION_MODERATOR, SUBSCRIPTION_OWNER] %} - {{ _('Leave') }} + {{ _('Leave') }} {% elif current_user.is_authenticated and community_membership(current_user, community) == SUBSCRIPTION_PENDING %} - {{ _('Pending') }} + {{ _('Pending') }} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %}
diff --git a/app/templates/list_communities.html b/app/templates/list_communities.html index ea4d5ab5..f1ca7c9d 100644 --- a/app/templates/list_communities.html +++ b/app/templates/list_communities.html @@ -72,14 +72,14 @@ {% if current_user.is_authenticated %} {% if community_membership(current_user, community) in [SUBSCRIPTION_MEMBER, SUBSCRIPTION_MODERATOR, SUBSCRIPTION_OWNER] %} - {{ _('Leave') }} + {{ _('Leave') }} {% elif community_membership(current_user, community) == SUBSCRIPTION_PENDING %} - {{ _('Pending') }} + {{ _('Pending') }} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %} {% if not low_bandwidth %} diff --git a/app/templates/post/add_reply.html b/app/templates/post/add_reply.html index 6fbabbac..579b269e 100644 --- a/app/templates/post/add_reply.html +++ b/app/templates/post/add_reply.html @@ -37,9 +37,9 @@
{% if current_user.is_authenticated and community_membership(current_user, post.community) %} - {{ _('Leave') }} + {{ _('Leave') }} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %}
diff --git a/app/templates/post/continue_discussion.html b/app/templates/post/continue_discussion.html index eb947b30..39af0ece 100644 --- a/app/templates/post/continue_discussion.html +++ b/app/templates/post/continue_discussion.html @@ -64,9 +64,9 @@
{% if current_user.is_authenticated and community_membership(current_user, post.community) %} - {{ _('Leave') }} + {{ _('Leave') }} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %}
diff --git a/app/templates/post/post.html b/app/templates/post/post.html index d92ba4db..1c7cbd3a 100644 --- a/app/templates/post/post.html +++ b/app/templates/post/post.html @@ -160,9 +160,9 @@
{% if current_user.is_authenticated and community_membership(current_user, post.community) >= SUBSCRIPTION_MEMBER %} - {{ _('Leave') }} + {{ _('Leave') }} {% else %} - {{ _('Join') }} + {{ _('Join') }} {% endif %}
diff --git a/app/templates/post/post_reply_edit.html b/app/templates/post/post_reply_edit.html index d5126e83..d33ed6e5 100644 --- a/app/templates/post/post_reply_edit.html +++ b/app/templates/post/post_reply_edit.html @@ -37,9 +37,9 @@
{% if current_user.is_authenticated and community_membership(current_user, post.community) %} - {{ _('Unsubscribe') }} + {{ _('Unsubscribe') }} {% else %} - {{ _('Subscribe') }} + {{ _('Subscribe') }} {% endif %}