Update thread visibility guidance

This commit is contained in:
rubenwardy 2022-04-23 21:37:03 +01:00
parent 0689565ded
commit 34d66a3d96
2 changed files with 5 additions and 2 deletions

@ -221,7 +221,7 @@
<h2>{% if review_thread.private %}&#x1f512;{% endif %} {{ review_thread.title }}</h2> <h2>{% if review_thread.private %}&#x1f512;{% endif %} {{ review_thread.title }}</h2>
{% if review_thread.private %} {% if review_thread.private %}
<p><i> <p><i>
{{ _("This thread is only visible to the package owner and users of Approver rank or above.") }} {{ _("This thread is only visible to its creator, package maintainers, users of Approver rank or above, and @mentioned users.") }}
</i></p> </i></p>
{% endif %} {% endif %}

@ -89,11 +89,14 @@
<aside class="row"> <aside class="row">
<div class="col-md-9"> <div class="col-md-9">
<i> <i>
{{ _("This thread is only visible to its creator, the package owner, and users of Approver rank or above.") }} {{ _("This thread is only visible to its creator, package maintainers, users of Approver rank or above, and @mentioned users.") }}
</i> </i>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<div class="d-flex flex-row justify-content-end flex-wrap align-items-center" style="gap: 0.5em;"> <div class="d-flex flex-row justify-content-end flex-wrap align-items-center" style="gap: 0.5em;">
<span class="text-muted mr-2" title="{{ _('This thread is visible to the following users') }}">
{{ _("Visible to:") }}
</span>
{% for viewer in thread.get_visible_to() %} {% for viewer in thread.get_visible_to() %}
<a href="{{ url_for('users.profile', username=viewer.username) }}" title="{{ viewer.display_name }}"> <a href="{{ url_for('users.profile', username=viewer.username) }}" title="{{ viewer.display_name }}">
<img style="max-height: 2em;" src="{{ viewer.getProfilePicURL() }}" alt="{{ viewer.display_name }}" /> <img style="max-height: 2em;" src="{{ viewer.getProfilePicURL() }}" alt="{{ viewer.display_name }}" />