Commit 05783ebc authored by Michal Čihař's avatar Michal Čihař

Clarify where subscriptions are used

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent a76bf962
...@@ -197,7 +197,6 @@ class SubscriptionForm(forms.ModelForm): ...@@ -197,7 +197,6 @@ class SubscriptionForm(forms.ModelForm):
super(SubscriptionForm, self).__init__(*args, **kwargs) super(SubscriptionForm, self).__init__(*args, **kwargs)
user = kwargs['instance'].user user = kwargs['instance'].user
self.fields['subscriptions'].help_text = None
self.fields['subscriptions'].required = False self.fields['subscriptions'].required = False
self.fields['subscriptions'].queryset = Project.objects.all_acl(user) self.fields['subscriptions'].queryset = Project.objects.all_acl(user)
......
...@@ -580,6 +580,10 @@ class Profile(models.Model): ...@@ -580,6 +580,10 @@ class Profile(models.Model):
subscriptions = models.ManyToManyField( subscriptions = models.ManyToManyField(
'trans.Project', 'trans.Project',
verbose_name=_('Subscribed projects'), verbose_name=_('Subscribed projects'),
help_text=_(
'You can receive notifications for subscribed projects and '
'they are shown on dashboard by default.'
),
blank=True, blank=True,
) )
......
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
<div class="panel-heading"><h4 class="panel-title">{% trans "Description" %}</h4></div> <div class="panel-heading"><h4 class="panel-title">{% trans "Description" %}</h4></div>
<div class="panel-body"> <div class="panel-body">
<p>{% trans "You will receive chosen notifications via email for all your languages." %}</p> <p>{% trans "You will receive chosen notifications via email for all your languages." %}</p>
<p>{% trans "Subscribed projects are also shown on dashboard, so choose all projects you want to translate." %}</p>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<a class="btn btn-default" href="{% documentation 'user/profile' 'subscriptions' %}">{% trans "Documentation" %}</a> <a class="btn btn-default" href="{% documentation 'user/profile' 'subscriptions' %}">{% trans "Documentation" %}</a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment