Skip to content

Commit

Permalink
N21-1624 migration wizard (#3398)
Browse files Browse the repository at this point in the history
* N21-1624 hide migration in administration dashboard when n21
  • Loading branch information
arnegns authored Jan 26, 2024
1 parent d3d9ab0 commit 035eeac
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions views/administration/dashboard.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@
</div>
</div>
{{/userHasPermission}}
{{#ifConfig "FEATURE_USER_MIGRATION_ENABLED" true}}
{{#embed "administration/partials/ldap_migration_link"}}{{/embed}}
{{#ifConfig "FEATURE_USER_MIGRATION_ENABLED" true}}
{{#ifneq @root.theme.name "n21"}}
{{#embed "administration/partials/ldap_migration_link"}}{{/embed}}
{{/ifneq}}
{{else}}
{{#inArray "ldapUniventionMigrationSchool" @root.currentSchoolData.features}}
{{#embed "administration/partials/ldap_migration_link"}}{{/embed}}
{{/inArray}}
{{/ifConfig}}
{{/ifConfig}}
</div>
</div>
</div>
Expand Down

0 comments on commit 035eeac

Please sign in to comment.