debian-mirror-gitlab/app/views/projects/blob/show.html.haml

18 lines
840 B
Text
Raw Normal View History

2021-11-11 11:23:49 +05:30
- breadcrumb_title _('Repository')
2015-09-11 14:41:01 +05:30
- page_title @blob.path, @ref
2022-11-25 23:54:43 +05:30
- add_page_specific_style 'page_bundles/tree'
2019-12-21 20:55:43 +05:30
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit, limit: 1)
2021-06-08 01:23:25 +05:30
- content_for :prefetch_asset_tags do
- webpack_preload_asset_tag('monaco', prefetch: true)
2022-10-11 01:57:18 +05:30
- add_page_startup_graphql_call('repository/blob_info', { projectPath: @project.full_path, ref: current_ref, filePath: @blob.path, shouldFetchRawText: @blob.rendered_as_text? && !@blob.rich_viewer })
2019-12-04 20:38:33 +05:30
2018-11-18 11:00:15 +05:30
.js-signature-container{ data: { 'signatures-path': signatures_path } }
2019-12-04 20:38:33 +05:30
= render 'projects/last_push'
2018-03-17 18:26:18 +05:30
2019-12-04 20:38:33 +05:30
#tree-holder.tree-holder
= render 'blob', blob: @blob
2014-09-02 18:07:02 +05:30
2020-04-08 14:13:33 +05:30
= render partial: 'pipeline_tour_success' if show_suggest_pipeline_creation_celebration?
2021-11-18 22:05:49 +05:30
= render 'shared/web_ide_path'