This commit is contained in:
Víctor Déniz
2022-02-03 21:29:09 +00:00
2 changed files with 3 additions and 2 deletions
@@ -95,7 +95,8 @@ class subscription_actionbar implements renderable, templatable {
}
});
$urlselect = new url_select($menu, $this->currenturl, ['' => $set], 'selectsubscriptionoptions');
$urlselect->set_label(get_string('subscriptions', 'mod_forum'), ['class' => 'accesshide']);
$urlselect->set_label(get_string('subscriptionmode', 'mod_forum'), ['class' => 'mr-1']);
$urlselect->set_help_icon('subscriptionmode', 'mod_forum');
$urlselect->class .= ' float-right';
return $urlselect;
}
@@ -29,7 +29,7 @@ Feature: Changes to the subscription mode of a forum can change subcribers of a
Scenario: A change from Forced subscription to Auto subcription causes all participants to be subscribed
Given I follow "Test forum name"
And I navigate to "Subscriptions" in current page administration
When I select "Auto subscription" from the "Subscriptions" singleselect
When I select "Auto subscription" from the "Subscription mode" singleselect
Then I should not see "There are no subscribers yet for this forum"
And I navigate to "Subscriptions" in current page administration
And I should see "Student 1"