summaryrefslogtreecommitdiff
path: root/chimere/templates/chimere/blocks/welcome.html
blob: 12ce4bb8d6c5dcab72836c019f2c23fc8d5f661d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% load i18n sanitize chimere_tags bootstrap %}{% if news_lst or welcome_message %}

{% bootstrap_modal "welcome" title welcome_message|safe %}

<script type='text/javascript'>
<!--
$(function(){
    {% if display %}
    if (do_display_welcome()){
        $('#welcome').modal('show');
    }
    {% endif %}
    $('.get_more_information').click(function(){
        $('#welcome').modal('hide');
        $('#news').modal('show');
        return false;
    });
    register_hide_welcome_check();
});
// -->
</script>
{% endif %}