UI: add new button, top panel restyle etc
This commit is contained in:
parent
3b5a4fa2fd
commit
15c4655527
27 changed files with 88 additions and 64 deletions
|
@ -18,10 +18,10 @@
|
|||
- if current_page?(project_snippets_path(@project))
|
||||
- if can? current_user, :write_snippet, @project
|
||||
= link_to new_project_snippet_path(@project), :class => "add_new", :title => "New Snippet" do
|
||||
= image_tag "add_new.png", :width => 14
|
||||
Add new
|
||||
|
||||
|
||||
- if current_page?(team_project_path(@project))
|
||||
- if can? current_user, :admin_team_member, @project
|
||||
= link_to new_project_team_member_path(@project), :class => "add_new", :title => "New Team Member" do
|
||||
= image_tag "add_new.png", :width => 14
|
||||
Add New
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue