Revision 9dc049cb

b/snf-astakos-app/Changelog
1 1
Changelog
2 2
---------
3 3

  
4
v0.6.2
5
^^^^^^
6
- fixed signup/profile/global user notifications display
7

  
8

  
4 9
v0.6.1
5 10
^^^^^^
6 11
- skip csrf on login requests
7 12

  
13

  
8 14
v0.6
9 15
^^^^
10 16
- Fixed default values in cloudbar sample conf file
b/snf-astakos-app/astakos/im/context_processors.py
57 57
    return {'IM_STATIC_URL' : IM_STATIC_URL}
58 58

  
59 59
def custom_messages(request):
60
    EXTRA_MESSAGES_SET = bool(GLOBAL_MESSAGES or SIGNUP_MESSAGES or \
61
            LOGIN_MESSAGES or PROFILE_MESSAGES)
60 62
    return {
61 63
            'GLOBAL_MESSAGES' : GLOBAL_MESSAGES,
62 64
            'SIGNUP_MESSAGES' : SIGNUP_MESSAGES,
63 65
            'LOGIN_MESSAGES' : LOGIN_MESSAGES,
64 66
            'PROFILE_MESSAGES' : PROFILE_MESSAGES,
65
            'PROFILE_EXTRA_LINKS' : PROFILE_EXTRA_LINKS
67
            'PROFILE_EXTRA_LINKS' : PROFILE_EXTRA_LINKS,
68
            'EXTRA_MESSAGES_SET' : PROFILE_EXTRA_LINKS,
66 69
           }
67 70

  
68 71
def menu(request):
b/snf-astakos-app/astakos/im/static/im/css/custom.css
1 1
ul.messages li { margin-bottom: 5px }
2 2
ul.messages { background-color: transparent; }
3
ul.messages li a { font-weight: normal !important }
4
ul.messages li.notice { background-color: #284A5E }
5
ul.messages li.notice { color: #FFF }
6
ul.messages li.notice a { color: #FFF }
7
ul.messages li.notice2 { background-color: #F54500 }
8
ul.messages li.notice2 { color: #FFF }
9
ul.messages li.notice2 { background-color: #F54500 }
10
ul.messages li.notice2 a { color: #FFF }
b/snf-astakos-app/astakos/im/templates/im/base.html
93 93
            </div>
94 94
            {% endblock %}
95 95
        </div>
96
        {% if messages or LOGIN_MESSAGES %}
96
        {% if messages or EXTRA_MESSAGES_SET %}
97 97
        <ul class="messages">
98 98
            {% block extra_messages %}{% endblock %}
99 99
            {% for message in messages %}

Also available in: Unified diff