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
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-01-19 11:27:23 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-01-19 11:27:23 +0400
commit00d7bfda95087297ea4205946092185d77d1a872 (patch)
tree79691cd84d8600e8528c6c13f8807025b3dfc033 /app
parent15c46555274a14f3a90f0c8139e59cf1e96eccfc (diff)
projects link added. security specs added
Diffstat (limited to 'app')
-rw-r--r--app/assets/images/Storage-UI.PNGbin0 -> 737 bytes
-rw-r--r--app/views/deploy_keys/index.html.haml6
-rw-r--r--app/views/layouts/_head_panel.html.haml4
3 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/images/Storage-UI.PNG b/app/assets/images/Storage-UI.PNG
new file mode 100644
index 00000000000..8ab6678de32
--- /dev/null
+++ b/app/assets/images/Storage-UI.PNG
Binary files differ
diff --git a/app/views/deploy_keys/index.html.haml b/app/views/deploy_keys/index.html.haml
index d3feadb8742..015b818c76b 100644
--- a/app/views/deploy_keys/index.html.haml
+++ b/app/views/deploy_keys/index.html.haml
@@ -5,6 +5,12 @@
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})
+- if @keys.blank?
+ .notice_holder
+ %li Deploy Keys do not exist yet.
+ - if can? current_user, :admin_project, @project
+ %li You can add a new one by clicking on plus icon
+
:javascript
$('.delete-key').live('ajax:success', function() {
$(this).closest('.update-item').fadeOut(); });
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml
index 101b411072f..f65f20ea722 100644
--- a/app/views/layouts/_head_panel.html.haml
+++ b/app/views/layouts/_head_panel.html.haml
@@ -5,8 +5,8 @@
%div.main_links
= link_to root_path, :class => "home", :title => "Home" do
= image_tag "Home-UI.PNG"
- = link_to :back, :title => "Back" do
- = image_tag "Arrow-Left-UI.PNG"
+ = link_to projects_path, :title => "Projects" do
+ = image_tag "Storage-UI.PNG"
- if project_layout
.project_name