diff --git a/locale/vi/LC_MESSAGES/django.po b/locale/vi/LC_MESSAGES/django.po index 8afdc5c..abc4c90 100644 --- a/locale/vi/LC_MESSAGES/django.po +++ b/locale/vi/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: lqdoj2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-30 14:09+0700\n" +"POT-Creation-Date: 2022-05-30 14:27+0700\n" "PO-Revision-Date: 2021-07-20 03:44\n" "Last-Translator: Icyene\n" "Language-Team: Vietnamese\n" @@ -4277,8 +4277,8 @@ msgid "Controls" msgstr "Quản lý" #: templates/organization/org-right-sidebar.html:24 -msgid "Edit organization" -msgstr "Chỉnh sửa" +msgid "Edit group" +msgstr "Chỉnh sửa nhóm" #: templates/organization/org-right-sidebar.html:31 msgid "View requests" @@ -5571,6 +5571,9 @@ msgstr "Thông tin" msgid "Check all" msgstr "Chọn tất cả" +#~ msgid "Edit organization" +#~ msgstr "Chỉnh sửa" + #~ msgid "You may not be part of more than {count} public organizations." #~ msgstr "Bạn không thể tham gia nhiều hơn {count} tổ chức công khai." diff --git a/templates/blog/content.html b/templates/blog/content.html index 753e36e..32e1f32 100644 --- a/templates/blog/content.html +++ b/templates/blog/content.html @@ -7,8 +7,22 @@ {{ link_users(authors) }} {%- endif -%} {% endwith %} - • {{ relative_time(post.publish_on, abs=_('on {time}'), rel=_('{time}')) -}} - {%- if post.sticky %} • {% endif -%} + • + {{ relative_time(post.publish_on, abs=_('on {time}'), rel=_('{time}')) -}} + {%- if post.sticky %} • + {% endif -%} + {% if post.is_organization_private and show_organization_private_icon %} + • + + {% for org in post.organizations.all() %} + + + {{ org.name }} + + + {% endfor %} + + {% endif %} @@ -22,17 +36,6 @@

{{ post.title }}

- {% if post.is_organization_private and show_organization_private_icon %} -
- {% for org in post.organizations.all() %} - - - {{ org.name }} - - - {% endfor %} -
- {% endif %}
{% cache 86400 'post_summary' post.id %} {{ post.summary|default(post.content, true)|markdown('blog', 'svg', lazy_load=True)|reference|str|safe }} diff --git a/templates/organization/org-right-sidebar.html b/templates/organization/org-right-sidebar.html index 55cecae..fe556cb 100644 --- a/templates/organization/org-right-sidebar.html +++ b/templates/organization/org-right-sidebar.html @@ -21,7 +21,7 @@ {% if can_edit %}
  • - {{ _('Edit organization') }} + {{ _('Edit group') }}
  • {% endif %}