From 28d63208f291520a8ce498ea4ed2a836fac965da Mon Sep 17 00:00:00 2001 From: Miguel Sancho Date: Sun, 15 Sep 2019 07:27:16 -0700 Subject: [PATCH 1/3] add docs link to the help menu --- app/views/home/_help_links.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/home/_help_links.html.haml b/app/views/home/_help_links.html.haml index 2b44bfa71..7f8d2f051 100644 --- a/app/views/home/_help_links.html.haml +++ b/app/views/home/_help_links.html.haml @@ -4,6 +4,10 @@ = t('help.label') %span.caret %ul#help-menu.dropdown-menu + %li + =link_to 'https://cenit-io.github.io/docs', target: '_blank' do + %i.fa.fa-fw.fa-file{title: 'docs'} + %span='docs' %li =link_to (ENV['SLACK_INVITATION'] || 'http://cenit-slack.herokuapp.com'), target: '_blank' do %i.fa.fa-fw.fa-slack{title: 'join our slack'} From 7270cfe167bfddddfd8e521b5e8715b4f7d4ca25 Mon Sep 17 00:00:00 2001 From: Miguel Sancho Date: Sun, 15 Sep 2019 07:27:16 -0700 Subject: [PATCH 2/3] add docs link to the help menu --- app/views/home/_help_links.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/home/_help_links.html.haml b/app/views/home/_help_links.html.haml index 2b44bfa71..7f8d2f051 100644 --- a/app/views/home/_help_links.html.haml +++ b/app/views/home/_help_links.html.haml @@ -4,6 +4,10 @@ = t('help.label') %span.caret %ul#help-menu.dropdown-menu + %li + =link_to 'https://cenit-io.github.io/docs', target: '_blank' do + %i.fa.fa-fw.fa-file{title: 'docs'} + %span='docs' %li =link_to (ENV['SLACK_INVITATION'] || 'http://cenit-slack.herokuapp.com'), target: '_blank' do %i.fa.fa-fw.fa-slack{title: 'join our slack'} From 64b14e7626b50237e5950339412fe71330768b3a Mon Sep 17 00:00:00 2001 From: Miguel Sancho Date: Sun, 15 Sep 2019 09:02:26 -0700 Subject: [PATCH 3/3] Update meta title and description --- app/views/layouts/application.html.haml | 2 ++ app/views/layouts/cenit.html.haml | 2 ++ app/views/layouts/rails_admin/application.html.haml | 4 ++-- app/views/layouts/rails_admin/application_notebooks.html.haml | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index de653ad13..f7173517a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -4,6 +4,8 @@ %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"} %meta{content: "NONE,NOARCHIVE", name: "robots"} %meta{content: "width=device-width,initial-scale=1", name: "viewport"} + %meta{name: "description", content: 'Orchestrate data flows that may involve several APIs. Automate operational processes, connecting on-premises and cloud services.'} + %title= 'Cenit IO | open integration Platform(iPaaS)' = csrf_meta_tag = stylesheet_link_tag 'application', media: :all %body.rails_admin diff --git a/app/views/layouts/cenit.html.haml b/app/views/layouts/cenit.html.haml index 92ad3fb92..077f6eda7 100644 --- a/app/views/layouts/cenit.html.haml +++ b/app/views/layouts/cenit.html.haml @@ -3,6 +3,8 @@ %meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"} %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"} %meta{content: "NONE,NOARCHIVE", name: "robots"} + %meta{name: "description", content: 'Orchestrate data flows that may involve several APIs. Automate operational processes, connecting on-premises and cloud services.'} + %title= 'Cenit IO | open integration Platform(iPaaS)' = csrf_meta_tag = stylesheet_link_tag "application.css", media: :all = stylesheet_link_tag "rails_admin/rails_admin.css", media: :all diff --git a/app/views/layouts/rails_admin/application.html.haml b/app/views/layouts/rails_admin/application.html.haml index c4756f406..6d081a162 100644 --- a/app/views/layouts/rails_admin/application.html.haml +++ b/app/views/layouts/rails_admin/application.html.haml @@ -4,8 +4,8 @@ %head %meta{content: "IE=edge", 'http-equiv' => "X-UA-Compatible"} %meta{content: "text/html; charset=utf-8", 'http-equiv' => "Content-Type"} - %meta{name: "description", content: 'iPaaS - Cenit IO has been designed to orchestrate data flows that may involve several APIs. It makes possible the automation of all operational processes in a company, connecting between on-premises infrastructure and cloud services.'} - %title= 'Cenit IO | Open Platform for Data and Business Integration (iPaaS)' + %meta{name: "description", content: 'Orchestrate data flows that may involve several APIs. Automate operational processes, connecting on-premises and cloud services.'} + %title= 'Cenit IO | open integration Platform(iPaaS)' = csrf_meta_tag - Cenit.options.keys.grep(/js:source\Z/).each do |source_key| %script{src: Cenit[source_key]} diff --git a/app/views/layouts/rails_admin/application_notebooks.html.haml b/app/views/layouts/rails_admin/application_notebooks.html.haml index 011d72987..d647d72fe 100644 --- a/app/views/layouts/rails_admin/application_notebooks.html.haml +++ b/app/views/layouts/rails_admin/application_notebooks.html.haml @@ -2,8 +2,8 @@ %head %meta{content: "IE=edge", 'http-equiv' => "X-UA-Compatible"} %meta{content: "text/html; charset=utf-8", 'http-equiv' => "Content-Type"} - %meta{name: "description", content: 'iPaaS - Cenit IO has been designed to orchestrate data flows that may involve several APIs. It makes possible the automation of all operational processes in a company, connecting between on-premises infrastructure and cloud services.'} - %title= 'Cenit IO | Open Platform for Data and Business Integration (iPaaS)' + %meta{name: "description", content: 'Orchestrate data flows that may involve several APIs. Automate operational processes, connecting on-premises and cloud services.'} + %title= 'Cenit IO | open integration Platform(iPaaS)' = csrf_meta_tag = stylesheet_link_tag 'rails_admin/rails_admin.css', media: :all -# Initialize JS simple i18n