Remove trailing whitespaces and trailing lines
This commit is contained in:
parent
7e0726b1da
commit
3bd06d55e0
80 changed files with 261 additions and 296 deletions
|
@ -1,11 +1,11 @@
|
|||
%nav.main_menu
|
||||
= link_to "Home", root_path, :class => "home #{"current" if current_page?(projects_path) || current_page?(root_path)}", :title => "Home"
|
||||
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
|
||||
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
|
||||
Issues
|
||||
%span.count= current_user.assigned_issues.opened.count
|
||||
= link_to dashboard_merge_requests_path, :class => "#{"current" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide" do
|
||||
Requests
|
||||
%span.count= current_user.cared_merge_requests.count
|
||||
= link_to search_path, :class => "#{"current" if current_page?(search_path)}" do
|
||||
= link_to search_path, :class => "#{"current" if current_page?(search_path)}" do
|
||||
Search
|
||||
= link_to "Help", help_path, :class => "#{"current" if controller.controller_name == "help"}"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
.container
|
||||
.top_panel_content
|
||||
%div.app_logo
|
||||
= link_to root_path, :class => "home", :title => "Home" do
|
||||
%h1
|
||||
= link_to root_path, :class => "home", :title => "Home" do
|
||||
%h1
|
||||
GITLAB
|
||||
%span.separator
|
||||
%h1.project_name= title
|
||||
|
@ -13,11 +13,11 @@
|
|||
= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input"
|
||||
.fbtn
|
||||
- if current_user.is_admin?
|
||||
= link_to admin_root_path, :class => "btn small", :title => "Admin area" do
|
||||
= link_to admin_root_path, :class => "btn small", :title => "Admin area" do
|
||||
%i.icon-cog
|
||||
Admin
|
||||
- if current_user.can_create_project?
|
||||
= link_to new_project_path, :class => "btn small", :title => "Create New Project" do
|
||||
= link_to new_project_path, :class => "btn small", :title => "Create New Project" do
|
||||
%i.icon-plus
|
||||
Project
|
||||
.account-box
|
||||
|
@ -43,4 +43,3 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
= link_to @project.code, project_path(@project), :class => "home #{project_tab_class}", :title => "Project"
|
||||
- if @project.repo_exists?
|
||||
- if can? current_user, :download_code, @project
|
||||
= link_to tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class do
|
||||
= link_to tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class do
|
||||
Files
|
||||
= link_to "Commits", project_commits_path(@project), :class => commit_tab_class
|
||||
|
||||
= link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil
|
||||
- if @project.issues_enabled
|
||||
= link_to project_issues_filter_path(@project), :class => issues_tab? ? "current" : nil do
|
||||
Issues
|
||||
Issues
|
||||
%span.count= @project.issues.opened.count
|
||||
- if @project.merge_requests_enabled
|
||||
= link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do
|
||||
|
@ -19,7 +19,7 @@
|
|||
- if @project.wall_enabled
|
||||
= link_to wall_project_path(@project), :class => wall_tab? ? "current" : nil do
|
||||
Wall
|
||||
|
||||
|
||||
- if @project.wiki_enabled
|
||||
= link_to project_wiki_path(@project, :index), :class => (controller.controller_name == "wikis") ? "current" : nil do
|
||||
Wiki
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue