Browse Source

HUE-6077 [frontend] Added login modal support to Hue 4

Enrico Berti 8 years ago
parent
commit
878ffcd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      desktop/core/src/desktop/templates/hue.mako

+ 4 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -506,6 +506,10 @@ ${ commonHeaderFooterComponents.header_pollers(user, is_s3_enabled, apps) }
 ${ assist.assistJSModels() }
 ${ assist.assistJSModels() }
 ${ assist.assistPanel() }
 ${ assist.assistPanel() }
 
 
+% if request is not None:
+${ smart_unicode(login_modal(request).content) | n,unicode }
+% endif
+
 <iframe id="zoomDetectFrame" style="width: 250px; display: none" ></iframe>
 <iframe id="zoomDetectFrame" style="width: 250px; display: none" ></iframe>
 
 
 <script type="text/javascript">
 <script type="text/javascript">