summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-03-28 19:29:02 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-03-28 19:29:02 +0000
commit47aeacd7f5b214d24dcb02bf0a42774415f5083d (patch)
tree130f356d8177ab6688a5e9236f77cc92887e2867 /app/views
parent5f6c32e1452cc25d47db9d5e66d3a5b1b453ceb3 (diff)
parent0f790dbccc506d59feeae2799163e3f00198dee2 (diff)
downloadgitlab-ce-47aeacd7f5b214d24dcb02bf0a42774415f5083d.tar.gz
Merge branch 'ipython-notebook-viewer' into 'master'
iPython notebook viewer See merge request !10017
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/blob/_notebook.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/blob/_notebook.html.haml b/app/views/projects/blob/_notebook.html.haml
new file mode 100644
index 00000000000..ab1cf933944
--- /dev/null
+++ b/app/views/projects/blob/_notebook.html.haml
@@ -0,0 +1,5 @@
+- content_for :page_specific_javascripts do
+ = page_specific_javascript_bundle_tag('common_vue')
+ = page_specific_javascript_bundle_tag('notebook_viewer')
+
+.file-content#js-notebook-viewer{ data: { endpoint: namespace_project_raw_path(@project.namespace, @project, @id) } }