diff --git a/app/scss/custom.scss b/app/scss/custom.scss index 8bf7a44..cafab72 100644 --- a/app/scss/custom.scss +++ b/app/scss/custom.scss @@ -55,6 +55,13 @@ a:hover .badge-notify { color: black; } +.badge-emoji { + padding: 0; + background: transparent; + font-size: 15px; + top: -10px; +} + p, .content li { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased !important; diff --git a/app/templates/base.html b/app/templates/base.html index 6b55186..be9c03b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -6,7 +6,7 @@ {% block title %}title{% endblock %} - {{ config.USER_APP_NAME }} - + @@ -65,7 +65,7 @@ title="{{ _('Work Queue') }}"> {% if todo_list_count > 0 %} - {{ todo_list_count }} + {{ todo_list_count }} {% else %} {% endif %} @@ -87,7 +87,16 @@ title="{{ _('Notifications') }}"> {% if current_user.notifications %} - {{ current_user.notifications | length }} + {% set num_notifs = current_user.notifications | length %} + {% if num_notifs > 60 %} + + 😢 + + {% else %} + + {{ num_notifs }} + + {% endif %} {% else %} {% endif %}