Commit 08bcf639 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add titles for blame view and Edit mode

parent f90c5655
...@@ -70,10 +70,6 @@ ...@@ -70,10 +70,6 @@
border-top: 1px solid #eee; border-top: 1px solid #eee;
} }
&.white {
background: #fff;
}
ul { ul {
margin: 0; margin: 0;
} }
......
%div.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: params[:path]
= render "head" %h3.page-title Blame view
#tree-holder.tree-holder #tree-holder.tree-holder
%ul.breadcrumb
%li
%i.icon-angle-right
= link_to project_tree_path(@project, @ref) do
= @project.name
- tree_breadcrumbs(@tree, 6) do |link|
\/
%li= link
.clear
.file-holder .file-holder
.file-title .file-title
%i.icon-file %i.icon-file
%span.file_name %span.file_name
= @blob.name = @path
%small= number_to_human_size @blob.size %small= number_to_human_size @blob.size
%span.options= render "projects/blob/actions" %span.options= render "projects/blob/actions"
.file-content.blame .file-content.blame
......
%h3.page-title Edit mode
.file-editor .file-editor
= form_tag(project_edit_tree_path(@project, @id), method: :put, class: "form-horizontal") do = form_tag(project_edit_tree_path(@project, @id), method: :put, class: "form-horizontal") do
.file-holder .file-holder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment