diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb index d521b517e..b8fb23361 100644 --- a/app/helpers/home_helper.rb +++ b/app/helpers/home_helper.rb @@ -49,8 +49,8 @@ def discover_ontologies_button end def home_ontoportal_description - ontoportal_link = link_to("(#{$ONTOPORTAL_WEBSITE_LINK})", $ONTOPORTAL_WEBSITE_LINK, target: '_blank') - github_link = link_to("(#{$ONTOPORTAL_GITHUB_REPO})", $ONTOPORTAL_GITHUB_REPO, target: '_blank') + ontoportal_link = link_to("#{$ONTOPORTAL_WEBSITE_LINK}", $ONTOPORTAL_WEBSITE_LINK, target: '_blank') + github_link = link_to("#{$ONTOPORTAL_GITHUB_REPO}", $ONTOPORTAL_GITHUB_REPO, target: '_blank') content_tag(:div, t('home.ontoportal_description', ontoportal_link: ontoportal_link, github_link: github_link).html_safe, style: "margin-bottom: 20px") end diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 43fc5ff02..d6016cdcb 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -209,7 +209,7 @@ .home-section-description .div - = home_ontoportal_description + = t('home.ontoportal_description').html_safe .home-support-items - $PORTALS_INSTANCES&.each do |portal| = portal_config_tooltip(portal[:name]) do