diff --git a/notifications/templates/notifications/partials/notice.html b/notifications/templates/notifications/partials/notice.html index 642acde443cb311d1726ee30fbbe899a4fab3680..0ab76ceef202ff15c03f309328ec9a007fe55c65 100644 --- a/notifications/templates/notifications/partials/notice.html +++ b/notifications/templates/notifications/partials/notice.html @@ -29,6 +29,6 @@ <p class="mb-1">{{ notice.description|linebreaksbr }}</p> {% endif %} {% if notice.target %} - <a href="{{notice.target.get_absolute_url}}">Go to {{notice.target_content_type}}</a> + <a href="{{notice.target.get_absolute_url}}" class="btn btn-default px-0">Go to {{notice.target_content_type}}</a> {% endif %} </div> diff --git a/scipost/static/scipost/assets/js/notifications.js b/scipost/static/scipost/assets/js/notifications.js index 533c57a74a540a983911e7a9e267f2b03e6b34d9..39b17b5c7e05f1ecc9a77295d2e1f2307894cd88 100644 --- a/scipost/static/scipost/assets/js/notifications.js +++ b/scipost/static/scipost/assets/js/notifications.js @@ -13,7 +13,7 @@ function initiate_popover(reinitiate=false) { var notification_template = '<div class="popover notifications" role="tooltip"><div class="arrow"></div><h3 class="popover-header h2"></h3><div class="popover-body"></div></div>'; var get_notifications_title = function() { - return 'New notifications <div class="badge badge-warning live_notify_badge"></div><div class="mt-1"><small><a href="/notifications">See all my notifications</a></small></div>'; + return 'Latest notifications <div class="badge badge-warning badge-pill live_notify_badge"></div><div class="mt-1"><small><a href="/notifications">See all my notifications</a></small></div>'; } var get_notifications = function() {