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 %}
{% block content %}
<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 -%}
<form method="POST" action="{{ url_for(".create_invite") }}">
{{- invite_form.csrf_token -}}

View File

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

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -69,7 +69,7 @@ msgstr ""
msgid "Name"
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"
msgstr ""
@@ -257,41 +257,54 @@ msgstr ""
msgid "Manage circles"
msgstr ""
#: snikket_web/templates/admin_circles.html:11
msgid "Circle name"
#: snikket_web/templates/admin_circles.html:5
msgid ""
"<em>Circles</em> aim to help people who are in the same social circle "
"find each other on your service."
msgstr ""
#: snikket_web/templates/admin_circles.html:12
msgid "Members"
#: snikket_web/templates/admin_circles.html:6
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 ""
#: 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_users.html:14
msgid "Actions"
msgstr ""
#: snikket_web/templates/admin_circles.html:23
#: snikket_web/templates/admin_circles.html:25
#, python-format
msgid "Create invitation to circle %(circle_name)s"
msgstr ""
#: snikket_web/templates/admin_circles.html:26
#: snikket_web/templates/admin_circles.html:28
#, python-format
msgid "Show details of circle %(circle_name)s"
msgstr ""
#: snikket_web/templates/admin_circles.html:35
#: snikket_web/templates/admin_circles.html:37
msgid "No circles"
msgstr ""
#: snikket_web/templates/admin_circles.html:36
#: snikket_web/templates/admin_circles.html:38
msgid ""
"Currently, there are no circles on this service. Use the form below to "
"create one."
msgstr ""
#: snikket_web/templates/admin_circles.html:39
#: snikket_web/templates/admin_circles.html:41
msgid "New circle"
msgstr ""
@@ -513,20 +526,24 @@ msgstr ""
msgid "Modify administrative user information or delete users."
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
msgid "Manage invitations"
msgstr ""
#: snikket_web/templates/admin_home.html:15
#: snikket_web/templates/admin_home.html:16
msgid "Create, revoke or view invitations."
msgstr ""
#: snikket_web/templates/admin_home.html:18
#: snikket_web/templates/admin_home.html:19
msgid "Back to the main view"
msgstr ""
#: snikket_web/templates/admin_home.html:19
#: snikket_web/templates/admin_home.html:20
msgid "Go back to your users web portal page."
msgstr ""