gitlab-org--gitlab-foss/app/views/projects/tree/_tree_content.html.haml

12 lines
293 B
Text
Raw Normal View History

- if show_new_repo?
= render 'shared/repo/repo', project: @project
- else
= render 'projects/tree/old_tree_content'
:javascript
// Load last commit log for each file in tree
$('#tree-slider').waitForImages(function() {
gl.utils.ajaxGet("#{escape_javascript(@logs_path)}");
});