Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_side_panel.html.haml')
-rw-r--r--app/views/projects/_side_panel.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/projects/_side_panel.html.haml b/app/views/projects/_side_panel.html.haml
new file mode 100644
index 00000000000..2f786b4d242
--- /dev/null
+++ b/app/views/projects/_side_panel.html.haml
@@ -0,0 +1,14 @@
+%h3.notice{:style => "width:235px;"}
+ = @project.name
+%p
+ %b Path:
+ = @project.path
+%p
+ %b Description:
+ = truncate @project.description
+.left.append-bottom
+ = link_to "Tree", tree_project_path(@project), :class => "button"
+ = link_to "Commits", project_commits_path(@project), :class => "button"
+ = link_to 'Team', team_project_path(@project), :class => "button"
+ - if can? current_user, :admin_project, @project
+ = link_to 'Edit', edit_project_path(@project), :class => "button positive"