Add explanatory texts to circle related views

This commit is contained in:
Jonas Schäfer
2021-01-26 15:06:45 +01:00
parent 9e2b6a4115
commit 5f1a45082e
3 changed files with 35 additions and 15 deletions

View File

@@ -2,6 +2,8 @@
{% from "library.j2" import action_button, custom_form_button, form_button, circle_name %} {% from "library.j2" import action_button, custom_form_button, form_button, circle_name %}
{% block content %} {% block content %}
<h1>{% trans %}Manage circles{% endtrans %}</h1> <h1>{% trans %}Manage circles{% endtrans %}</h1>
<p>{% trans %}<em>Circles</em> aim to help people who are in the same social circle find each other on your service.{% endtrans %}</p>
<p>{% trans %}Users who are in the same circle will see each other in their contact list. In addition, each circle has a group chat where the circle members are included.{% endtrans %}</p>
{%- if circles -%} {%- if circles -%}
<form method="POST" action="{{ url_for(".create_invite") }}"> <form method="POST" action="{{ url_for(".create_invite") }}">
{{- invite_form.csrf_token -}} {{- invite_form.csrf_token -}}

View File

@@ -9,6 +9,7 @@
</a> </a>
<a class="card" href="{{ url_for('.circles') }}"> <a class="card" href="{{ url_for('.circles') }}">
<h2>{% trans %}Manage circles{% endtrans %}</h2> <h2>{% trans %}Manage circles{% endtrans %}</h2>
<p>{% trans %}Create and manage social circles represented on your service.{% endtrans %}</p>
</a> </a>
<a class="card" href="{{ url_for('.invitations') }}"> <a class="card" href="{{ url_for('.invitations') }}">
<h2>{% trans %}Manage invitations{% endtrans %}</h2> <h2>{% trans %}Manage invitations{% endtrans %}</h2>

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-26 15:06+0100\n" "POT-Creation-Date: 2021-01-26 16:11+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -69,7 +69,7 @@ msgstr ""
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: snikket_web/admin.py:279 snikket_web/templates/admin_circles.html:42 #: snikket_web/admin.py:279 snikket_web/templates/admin_circles.html:44
msgid "Create circle" msgid "Create circle"
msgstr "" msgstr ""
@@ -257,41 +257,54 @@ msgstr ""
msgid "Manage circles" msgid "Manage circles"
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:11 #: snikket_web/templates/admin_circles.html:5
msgid "Circle name" msgid ""
"<em>Circles</em> aim to help people who are in the same social circle "
"find each other on your service."
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:12 #: snikket_web/templates/admin_circles.html:6
msgid "Members" msgid ""
"Users who are in the same circle will see each other in their contact "
"list. In addition, each circle has a group chat where the circle members "
"are included."
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:13 #: snikket_web/templates/admin_circles.html:13
msgid "Circle name"
msgstr ""
#: snikket_web/templates/admin_circles.html:14
msgid "Members"
msgstr ""
#: snikket_web/templates/admin_circles.html:15
#: snikket_web/templates/admin_invites.html:24 #: snikket_web/templates/admin_invites.html:24
#: snikket_web/templates/admin_users.html:14 #: snikket_web/templates/admin_users.html:14
msgid "Actions" msgid "Actions"
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:23 #: snikket_web/templates/admin_circles.html:25
#, python-format #, python-format
msgid "Create invitation to circle %(circle_name)s" msgid "Create invitation to circle %(circle_name)s"
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:26 #: snikket_web/templates/admin_circles.html:28
#, python-format #, python-format
msgid "Show details of circle %(circle_name)s" msgid "Show details of circle %(circle_name)s"
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:35 #: snikket_web/templates/admin_circles.html:37
msgid "No circles" msgid "No circles"
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:36 #: snikket_web/templates/admin_circles.html:38
msgid "" msgid ""
"Currently, there are no circles on this service. Use the form below to " "Currently, there are no circles on this service. Use the form below to "
"create one." "create one."
msgstr "" msgstr ""
#: snikket_web/templates/admin_circles.html:39 #: snikket_web/templates/admin_circles.html:41
msgid "New circle" msgid "New circle"
msgstr "" msgstr ""
@@ -513,20 +526,24 @@ msgstr ""
msgid "Modify administrative user information or delete users." msgid "Modify administrative user information or delete users."
msgstr "" msgstr ""
#: snikket_web/templates/admin_home.html:14 #: snikket_web/templates/admin_home.html:12
msgid "Create and manage social circles represented on your service."
msgstr ""
#: snikket_web/templates/admin_home.html:15
#: snikket_web/templates/admin_invites.html:8 #: snikket_web/templates/admin_invites.html:8
msgid "Manage invitations" msgid "Manage invitations"
msgstr "" msgstr ""
#: snikket_web/templates/admin_home.html:15 #: snikket_web/templates/admin_home.html:16
msgid "Create, revoke or view invitations." msgid "Create, revoke or view invitations."
msgstr "" msgstr ""
#: snikket_web/templates/admin_home.html:18 #: snikket_web/templates/admin_home.html:19
msgid "Back to the main view" msgid "Back to the main view"
msgstr "" msgstr ""
#: snikket_web/templates/admin_home.html:19 #: snikket_web/templates/admin_home.html:20
msgid "Go back to your users web portal page." msgid "Go back to your users web portal page."
msgstr "" msgstr ""