mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 14:25:05 -02:30
Implement manual initialzation for Angular app
Manual initialization allows for some asynchronous work to finish ahead of Angular's startup. The initial motivation is to be able to guarantee translation files have been fetched before rendering content that needs translation. If a locale isn't supported or if the request to get a json file fails, the i18n service falls back to en. Signed-off-by: gconsidine <gconsidi@redhat.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" ng-app="awApp">
|
||||
<html>
|
||||
<head>
|
||||
{% load staticfiles %}
|
||||
<meta charset="utf-8">
|
||||
|
||||
Reference in New Issue
Block a user