diff --git a/app/components/course-page/repository-dropdown-action.hbs b/app/components/course-page/repository-dropdown-action.hbs
index bd7cd4c41..9d8f33c6d 100644
--- a/app/components/course-page/repository-dropdown-action.hbs
+++ b/app/components/course-page/repository-dropdown-action.hbs
@@ -1,6 +1,10 @@
-{{! @glint-nocheck: not typesafe yet }}
-
+
{{yield}}
- {{svg-jar @icon class="w-5 ml-4 text-gray-300 group-hover:text-teal-500"}}
+ {{svg-jar @icon class=(concat "w-5 ml-4 text-gray-300 " (if @isDisabled "" "group-hover:text-teal-500"))}}
\ No newline at end of file
diff --git a/app/components/course-page/repository-dropdown-action.ts b/app/components/course-page/repository-dropdown-action.ts
new file mode 100644
index 000000000..303a2e164
--- /dev/null
+++ b/app/components/course-page/repository-dropdown-action.ts
@@ -0,0 +1,22 @@
+import Component from '@glimmer/component';
+
+interface Signature {
+ Element: HTMLDivElement;
+
+ Args: {
+ icon: string;
+ isDisabled?: boolean;
+ };
+
+ Blocks: {
+ default: [];
+ };
+}
+
+export default class RepositoryDropdownActionComponent extends Component
{}
+
+declare module '@glint/environment-ember-loose/registry' {
+ export default interface Registry {
+ 'CoursePage::RepositoryDropdownAction': typeof RepositoryDropdownActionComponent;
+ }
+}
diff --git a/app/components/course-page/repository-dropdown.hbs b/app/components/course-page/repository-dropdown.hbs
index 4869f565d..035d18f93 100644
--- a/app/components/course-page/repository-dropdown.hbs
+++ b/app/components/course-page/repository-dropdown.hbs
@@ -56,48 +56,31 @@
{{/if}}
-
Publish to GitHub
- {{svg-jar "github" class="w-5 ml-4 text-gray-300 group-hover:text-teal-500"}}
{{#if @activeRepository.isNew}}
{{/if}}
-
+
-
+
Try a different language
{{#unless @activeRepository.isNew}}
-
+
Retry using
{{@activeRepository.language.name}}
- {{svg-jar "refresh" class="w-5 ml-4 text-gray-300 group-hover:text-teal-500"}}
-
+
-
+
Delete Repository
- {{svg-jar "trash" class="w-5 ml-4 text-gray-300 group-hover:text-teal-500"}}
-
+
{{/unless}}
{{#if (gt this.nonActiveRepositories.length 0)}}