Commit 9f238272 authored by carlosribas's avatar carlosribas
Browse files

Show message about the survey

parent efe32b3e
......@@ -104,6 +104,15 @@ limitations under the License.
{% include "portal/header.html" %}
<div class="container" style="padding: 0; cursor: pointer;" onclick="'', '_blank');">
<div class="alert alert-success alert-dismissible text-center" style="margin-bottom: 0; border-radius: 0" role="alert">
<a href=""><span id="show-survey-message" style="font-size: large"></span></a>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
<div class="container">
<div class="container-main">
......@@ -262,6 +271,23 @@ limitations under the License.
var messages = [
'Want to improve RNAcentral? Fill out our survey to direct our efforts!',
'Help out RNAcentral by filling out this survey!',
'Found an issue, want to see something changed, fill out this survey!',
'Fill out this survey to help us build a better RNAcentral',
'Let us know how to improve RNAcentral, by clicking here',
'Help us decide the future of RNAcentral by filling out this survey',
'Does RNAcentral help your research, let us know here'
var randomMessage = messages[~~(Math.random() * messages.length)];
var survey = document.getElementById("show-survey-message");
survey.innerHTML += randomMessage;
<!--[if lte IE 8]>
<script type="text/javascript">
// bootstrap angular.js manually on IE < 8
......@@ -104,6 +104,9 @@ limitations under the License.
<a href="{% url 'help' %}">Help</a>
<a href="" 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><a href="" class="doorbell-feedback help" title="Send quick feedback without leaving the page">Feedback <i class="fa fa-comment"></i></a></li>
</div><!--/.nav-collapse -->
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