-# only show normal/blame view links for text files-if@tree.text?-ifcurrent_page?project_blame_path(@project,@id)=link_to"normal view",project_tree_path(@project,@id),class: "btn very_small"-else=link_to"blame",project_blame_path(@project,@id),class: "btn very_small"