debian-mirror-gitlab/app/views/layouts/_init_client_detection_flags.html.haml

8 lines
155 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- client = client_js_flags
- if client
-# haml-lint:disable InlineJavaScript
:javascript
gl = window.gl || {};
gl.client = #{client.to_json};