From ff8db8fecc74703024ae4b7b5fd9ce399fabdcb8 Mon Sep 17 00:00:00 2001 From: huang Date: Mon, 20 Jul 2015 17:35:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A01=E3=80=81=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=202=E3=80=81=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=BA=93=203=E3=80=81=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=B9=B3=E5=8F=B0=204=E3=80=81=E8=BD=AF?= =?UTF-8?q?=E5=B7=A5=E6=9C=8D=E5=8A=A1=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/_tools_expand.html.erb | 27 ++++++++++++- app/views/projects/online_dev.html.erb | 47 ++++++++++++++++++++++ app/views/projects/soft_file.html.erb | 46 +++++++++++++++++++++ app/views/projects/soft_knowledge.html.erb | 2 +- app/views/projects/soft_service.html.erb | 46 +++++++++++++++++++++ app/views/projects/yun_dep.html.erb | 5 ++- config/locales/projects/zh.yml | 4 ++ 7 files changed, 173 insertions(+), 4 deletions(-) create mode 100644 app/views/projects/online_dev.html.erb create mode 100644 app/views/projects/soft_file.html.erb create mode 100644 app/views/projects/soft_service.html.erb diff --git a/app/views/projects/_tools_expand.html.erb b/app/views/projects/_tools_expand.html.erb index 7ba58f424..1f6fb15ad 100644 --- a/app/views/projects/_tools_expand.html.erb +++ b/app/views/projects/_tools_expand.html.erb @@ -42,7 +42,32 @@
  • <% if User.current.admin? %> - <%= link_to l(:label_project_dts_yun) ,yun_dep_project_path(@project) %> + <%= link_to l(:label_project_dts_yun) ,yun_dep_project_path(@project), data: { confirm:'你确定要进行云化部署吗?' } %> + <% end %> +
  • +
  • + <% if User.current.admin? %> + 软件知识库 + <%#= link_to l(:label_project_soft_knowledge) ,soft_knowledge_project_path(@project) %> + <% end %> +
  • +
  • + <% if User.current.admin? %> + 软件资源库 + <%#= link_to l(:label_project_soft_file) ,soft_file_project_path(@project) %> + <% end %> +
  • +
  • + <% if User.current.admin? %> + 在线开发平台 + <%#= link_to l(:label_project_online_dev) ,online_dev_project_path(@project) %> + <% end %> +
  • +
  • + <% if User.current.admin? %> + 软工服务平台 + <%#= link_to l(:label_project_soft_service) ,soft_service_project_path(@project) %> <% end %>
  • diff --git a/app/views/projects/online_dev.html.erb b/app/views/projects/online_dev.html.erb new file mode 100644 index 000000000..d6a4b6795 --- /dev/null +++ b/app/views/projects/online_dev.html.erb @@ -0,0 +1,47 @@ +
    +

    <%= l(:label_project_online_dev) %>

    +
    + + + +
    +
    +

    在线开发部署中...

    +
    +
    0%
    +
    + +
    +
    +
    +
    + + \ No newline at end of file diff --git a/app/views/projects/soft_file.html.erb b/app/views/projects/soft_file.html.erb new file mode 100644 index 000000000..9e486dd78 --- /dev/null +++ b/app/views/projects/soft_file.html.erb @@ -0,0 +1,46 @@ +
    +

    <%= l(:label_project_soft_file) %>

    +
    + + + +
    +
    +

    软件资源库部署中...

    +
    +
    0%
    +
    + +
    +
    +
    +
    + + \ No newline at end of file diff --git a/app/views/projects/soft_knowledge.html.erb b/app/views/projects/soft_knowledge.html.erb index 6264fabbe..bcb745357 100644 --- a/app/views/projects/soft_knowledge.html.erb +++ b/app/views/projects/soft_knowledge.html.erb @@ -1,5 +1,5 @@
    -

    <%= l(:label_project_dts_yun) %>

    +

    <%= l(:label_project_soft_knowledge) %>

    diff --git a/app/views/projects/soft_service.html.erb b/app/views/projects/soft_service.html.erb new file mode 100644 index 000000000..43376b915 --- /dev/null +++ b/app/views/projects/soft_service.html.erb @@ -0,0 +1,46 @@ +
    +

    <%= l(:label_project_soft_service) %>

    +
    + + + +
    +
    +

    云化部署中...

    +
    +
    0%
    +
    + +
    +
    +
    +
    + + \ No newline at end of file diff --git a/app/views/projects/yun_dep.html.erb b/app/views/projects/yun_dep.html.erb index 6264fabbe..17a46ad6a 100644 --- a/app/views/projects/yun_dep.html.erb +++ b/app/views/projects/yun_dep.html.erb @@ -41,6 +41,7 @@ -