1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Adds liveUpdates flag for the UI back in

This line was lost in the 3.2.4 merge
This commit is contained in:
Jared Tabor 2018-04-27 11:15:20 -07:00
parent 0e27d62e7a
commit f5c4f9a9df
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -6,7 +6,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{ STATIC_URL }}assets/favicon.ico?v={{version}}" />
<script>var $basePath = '{{ STATIC_URL }}'</script>
<script>
var $basePath = '{{ STATIC_URL }}';
window.liveUpdates = "{{ UI_LIVE_UPDATES_ENABLED }}" === "False" ? false : true;
</script>
<% htmlWebpackPlugin.files.css.forEach(file => {%>
<link href="{{ STATIC_URL }}<%= file %>" rel="stylesheet" />
<% }) %>