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

8 lines
150 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- client = client_js_flags
- if client
2019-10-12 21:52:04 +05:30
= javascript_tag nonce: true do
:plain
gl = window.gl || {};
gl.client = #{client.to_json};