Comment on page
Site administration -> Appearance -> Alpha -> Course page
List of all available courses (YourURL/course/index.php) The visibility of this page depends on user permissions - moodle/category:viewcourselist. From 'Site administration -> Users -> Permissions -> Define roles' Learn more about the course list viewer role ->
If you are enrolled in the card will get a progress bar instead "Get access" button.
Go to Site administration -> Appearance -> Alpha -> Course page -> Course Card -> Display "Get access" buttons