From a6324d61c5c05c6d4be89e1d8c48221bd89a7cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Tue, 27 Sep 2016 10:53:30 +0200 Subject: [PATCH] Fixed wrong CSS formatting, added release notes link to help links, and links now open in new tab. --- app/assets/stylesheets/themes/scinote.scss | 11 +++++------ app/views/shared/_navigation.html.erb | 11 ++++++----- config/initializers/constants.rb | 1 + config/locales/en.yml | 1 + 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 908ae6003..ed47e823f 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -463,13 +463,12 @@ a[data-toggle="tooltip"] { } // Help link +#help-link { + padding: 13px; -.glyphicon.glyphicon-info-sign { - font-size: 16px; - margin-top: 4px; - - #help-link { - padding: 13px; + .glyphicon.glyphicon-info-sign { + font-size: 16px; + margin-top: 4px; } } diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb index 9c2f1a8b4..7aef49ee3 100644 --- a/app/views/shared/_navigation.html.erb +++ b/app/views/shared/_navigation.html.erb @@ -61,11 +61,12 @@ diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 836cb74df..5e3d5df0a 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -76,6 +76,7 @@ FAQ_URL = (HTTP + 'scinote.net/product/faq/').freeze SUPPORT_URL = (HTTP + 'scinote.net/plans/#prof-support').freeze PLANS_URL = (HTTP + 'scinote.net/plans/').freeze CONTACT_URL = (HTTP + 'scinote.net/about-us/').freeze +RELEASE_NOTES_URL = (HTTP + 'scinote.net/docs/release-notes/').freeze # ) \ / ( # /|\ )\_/( /|\ diff --git a/config/locales/en.yml b/config/locales/en.yml index 2a91459c1..0e6cc8148 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -66,6 +66,7 @@ en: help: tutorials: "Tutorials" faq: "FAQ" + release_notes: "Release notes" support: "Professional support and customization" plans: "Plans" contact: "Contact us"