Fixed wrong CSS formatting, added release notes link to help links, and links now open in new tab.

This commit is contained in:
Matej Zrimšek 2016-09-27 10:53:30 +02:00
parent 1c1a7c231e
commit a6324d61c5
4 changed files with 13 additions and 11 deletions

View file

@ -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;
}
}

View file

@ -61,11 +61,12 @@
<span class="glyphicon glyphicon-info-sign"></span>
</a>
<ul class="dropdown-menu">
<li><%= link_to t('nav.help.tutorials'), TUTORIALS_URL %></li>
<li><%= link_to t('nav.help.faq'), FAQ_URL %></li>
<li><%= link_to t('nav.help.support'), SUPPORT_URL %></li>
<li><%= link_to t('nav.help.plans'), PLANS_URL %></li>
<li><%= link_to t('nav.help.contact'), CONTACT_URL %></li>
<li><%= link_to t('nav.help.tutorials'), TUTORIALS_URL, target: "_blank" %></li>
<li><%= link_to t('nav.help.faq'), FAQ_URL, target: "_blank" %></li>
<li><%= link_to t('nav.help.release_notes'), RELEASE_NOTES_URL, target: "_blank" %></li>
<li><%= link_to t('nav.help.support'), SUPPORT_URL, target: "_blank" %></li>
<li><%= link_to t('nav.help.plans'), PLANS_URL, target: "_blank" %></li>
<li><%= link_to t('nav.help.contact'), CONTACT_URL, target: "_blank" %></li>
</ul>
</li>
</ul>

View file

@ -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
# ) \ / (
# /|\ )\_/( /|\

View file

@ -66,6 +66,7 @@ en:
help:
tutorials: "Tutorials"
faq: "FAQ"
release_notes: "Release notes"
support: "Professional support and customization"
plans: "Plans"
contact: "Contact us"