diff --git a/pagure/api/issue.py b/pagure/api/issue.py index 076d219..f1397a5 100644 --- a/pagure/api/issue.py +++ b/pagure/api/issue.py @@ -1068,8 +1068,8 @@ def api_subscribe_issue(repo, issueid, username=None, namespace=None): """ Subscribe to an issue --------------------- - Allows someone to subscribe or unscribe to the notifications related to - an issue. + Allows someone to subscribe to or unsubscribe from the notifications + related to an issue. :: @@ -1087,10 +1087,10 @@ def api_subscribe_issue(repo, issueid, username=None, namespace=None): +--------------+----------+---------------+---------------------------+ | Key | Type | Optionality | Description | +==============+==========+===============+===========================+ - | ``status`` | boolean | Mandatory | | The subscription status | - | | | | to subscribe or | - | | | | unsubscribe to the. | - | | | | issue. | + | ``status`` | boolean | Mandatory | The intended subscription | + | | | | status. ``true`` for | + | | | | subscribing, ``false`` | + | | | | for unsubscribing. | +--------------+----------+---------------+---------------------------+ Sample response diff --git a/pagure/forms.py b/pagure/forms.py index c40b210..dab81bb 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -694,7 +694,7 @@ class PublicNotificationForm(PagureForm): class SubscribtionForm(PagureForm): - ''' Form to subscribe or unsubscribe to an issue or a PR. ''' + ''' Form to subscribe to or unsubscribe from an issue or a PR. ''' status = wtforms.BooleanField( 'Subscription status', [wtforms.validators.optional()], diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 36232ad..bd7e60c 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -348,7 +348,7 @@