Skip to content
Snippets Groups Projects
Commit 9ba4aa92 authored by srosse's avatar srosse
Browse files

OO-3254 : author can freely add and remove the course from the catalog if the course is closed

parent b36ff3dc
No related branches found
No related tags found
No related merge requests found
...@@ -565,7 +565,7 @@ public class CourseRuntimeController extends RepositoryEntryRuntimeController im ...@@ -565,7 +565,7 @@ public class CourseRuntimeController extends RepositoryEntryRuntimeController im
catalogLink = LinkFactory.createToolLink("access.cmd", translate("command.catalog"), this, "o_icon_catalog"); catalogLink = LinkFactory.createToolLink("access.cmd", translate("command.catalog"), this, "o_icon_catalog");
catalogLink.setElementCssClass("o_sel_course_catalog"); catalogLink.setElementCssClass("o_sel_course_catalog");
catalogLink.setVisible(repositoryModule.isCatalogEnabled() && !uce.isCourseReadOnly()); catalogLink.setVisible(repositoryModule.isCatalogEnabled());
settings.addComponent(catalogLink); settings.addComponent(catalogLink);
settings.addComponent(new Spacer("")); settings.addComponent(new Spacer(""));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment