Usability & design improvements
This commit is contained in:
parent
9a24ccdea1
commit
94db8a1c33
21 changed files with 190 additions and 89 deletions
|
@ -1,5 +1,5 @@
|
|||
%nav.main_menu
|
||||
= link_to project_path(@project), :class => project_tab_class do
|
||||
= link_to project_path(@project), :class => "#{project_tab_class}", :title => "Project" do
|
||||
Project
|
||||
|
||||
- if @project.repo_exists?
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
You can create at least
|
||||
= current_user.projects_limit
|
||||
projects. Click on button to add a new one
|
||||
%hr
|
||||
= link_to new_project_path, :class => "btn small" do
|
||||
New Project »
|
||||
.link_holder
|
||||
= link_to new_project_path, :class => "" do
|
||||
New Project »
|
||||
|
||||
- if current_user.is_admin?
|
||||
.widget
|
||||
You have administrator privilegies. You can configure application following this button:
|
||||
%hr
|
||||
= link_to admin_root_path, :class => "btn small", :title => "Admin" do
|
||||
Visit Admin Area »
|
||||
.link_holder
|
||||
= link_to admin_root_path, :class => "", :title => "Admin" do
|
||||
Visit Admin Area »
|
||||
|
||||
- if current_user.projects.count > 0
|
||||
= render "widgets/recent_projects"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
= link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
|
||||
= link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil
|
||||
= link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do
|
||||
Keys
|
||||
SSH Keys
|
||||
.content
|
||||
.row
|
||||
.span12= yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue