[ARVADOS] created: dfbdc1ba1ae2d41aec76f6bd7a7afe538419a3f9
git at public.curoverse.com
git at public.curoverse.com
Fri Dec 11 18:12:42 EST 2015
at dfbdc1ba1ae2d41aec76f6bd7a7afe538419a3f9 (commit)
commit dfbdc1ba1ae2d41aec76f6bd7a7afe538419a3f9
Author: Nancy Ouyang <nancy.ouyang at gmail.com>
Date: Fri Dec 11 18:09:20 2015 -0500
7607: enablee flag should be set to false by default
diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml
index e7b7366..e95b2cf 100644
--- a/apps/workbench/config/application.default.yml
+++ b/apps/workbench/config/application.default.yml
@@ -214,7 +214,7 @@ common:
enable_public_projects_page: true
# by default, disable the "Getting Started" popup which is specific to the public beta install
- enable_getting_started_popup: true
+ enable_getting_started_popup: false
# Ask Arvados API server to compress its response payloads.
api_response_compression: true
commit 735b8c256a6fbaff6b8da48b41b21d9d12f05582
Author: Nancy Ouyang <nancy.ouyang at gmail.com>
Date: Fri Dec 11 18:07:49 2015 -0500
7607: added logic to remove getting started dialogue by default. Still needs tests.
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index acb056e..abb79e9 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -159,10 +159,12 @@
<li role="presentation" class="dropdown-header">
Help
</li>
- <li>
- <%= link_to raw('<i class="fa fa-fw fa-info"></i> Getting Started ...'), "#",
- {'data-toggle' => "modal", 'data-target' => '#getting-started-modal-window'} %>
- </li>
+ <% if Rails.configuration.enable_getting_started_popup %>
+ <li>
+ <%= link_to raw('<i class="fa fa-fw fa-info"></i> Getting Started ...'), "#",
+ {'data-toggle' => "modal", 'data-target' => '#getting-started-modal-window'} %>
+ </li>
+ <% end %>
<% if Rails.configuration.arvados_public_data_doc_url %>
<li><%= link_to raw('<i class="fa fa-book fa-fw"></i> Public Pipelines and Data sets'), "#{Rails.configuration.arvados_public_data_doc_url}", target: "_blank" %></li>
<% end %>
@@ -290,7 +292,7 @@
<div id="report-issue-modal-window"></div>
<script src="/browser_unsupported.js"></script>
-<% if current_user and !current_user.prefs[:getting_started_shown] and
+<% if Rails.configuration.enable_getting_started_popup and current_user and !current_user.prefs[:getting_started_shown] and
!request.url.include?("/profile") and
!request.url.include?("/user_agreements") and
!request.url.include?("/inactive")%>
diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml
index c4a92d2..e7b7366 100644
--- a/apps/workbench/config/application.default.yml
+++ b/apps/workbench/config/application.default.yml
@@ -213,6 +213,9 @@ common:
# when anonymous_user_token is configured, show public projects page
enable_public_projects_page: true
+ # by default, disable the "Getting Started" popup which is specific to the public beta install
+ enable_getting_started_popup: true
+
# Ask Arvados API server to compress its response payloads.
api_response_compression: true
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list