Unverified Commit 97435441 authored by Carlos Eduardo Ribas's avatar Carlos Eduardo Ribas Committed by GitHub
Browse files

Show message about the survey (#533)

* Add link to the survey
* Add alert-dismissible class
* Show message on all pages except the home page
* Remove unnecessary code
parent b8dc993d
......@@ -104,6 +104,18 @@ limitations under the License.
{% include "portal/header.html" %}
</header>
{% if request.path != '/' %}
<div class="container">
<div class="alert alert-warning alert-dismissible text-center" role="alert">
<strong>We really value your feedback.</strong> Please help us improve our services by taking this
<a href="https://www.surveymonkey.co.uk/r/LCSF3G7" target="_blank">short survey</a>.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
</div>
{% endif %}
<div class="container">
<div class="container-main">
......
......@@ -104,6 +104,9 @@ limitations under the License.
<li>
<a href="{% url 'help' %}">Help</a>
</li>
<li>
<a href="https://www.surveymonkey.co.uk/r/LCSF3G7" class="help no-icon" title="Please help us improve RNAcentral" target="_blank" style="color: #fff"><strong>Survey <i class="fa fa-check-square-o"></i></strong></a>
</li>
<li><a href="" class="doorbell-feedback help" title="Send quick feedback without leaving the page">Feedback <i class="fa fa-comment"></i></a></li>
</ul>
</div><!--/.nav-collapse -->
......
......@@ -45,9 +45,12 @@ RNAcentral: The non-coding RNA sequence database
</div>
<div class="row">
<div class="alert alert-success text-center" style="margin-top: -10px" role="alert">
<div class="alert alert-success alert-dismissible text-center" style="margin-top: -10px" role="alert">
<strong>Join our webinar</strong> on Feb 10<sup>th</sup> at 15:30 (GMT) to learn how to use RNAcentral and ask your questions.
<a href="https://www.ebi.ac.uk/training-beta/events/exploring-non-coding-rnas-rnacentral/" target="_blank">Register now</a>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<h2 class="text-center margin-bottom-0px" style="margin-top: 0px;">Getting started</h2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment