mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make requeseted changes from code review
This commit is contained in:
parent
62a81c1a62
commit
b0e6b6071f
@ -231,8 +231,8 @@ function inventreeDocReady() {
|
||||
stopNotificationWatcher();
|
||||
});
|
||||
|
||||
$('#offcanvasRight').on('show.bs.offcanvas', openNotificationPanel) // listener for opening the notification panel
|
||||
$('#offcanvasRight').on('hidden.bs.offcanvas', closeNotificationPanel) // listener for closing the notification panel
|
||||
$('#offcanvasRight').on('show.bs.offcanvas', openNotificationPanel); // listener for opening the notification panel
|
||||
$('#offcanvasRight').on('hidden.bs.offcanvas', closeNotificationPanel); // listener for closing the notification panel
|
||||
}
|
||||
|
||||
|
||||
|
@ -911,11 +911,3 @@ class NotificationsView(TemplateView):
|
||||
"""
|
||||
|
||||
template_name = "InvenTree/notifications/notifications.html"
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
||||
ctx = super().get_context_data(**kwargs).copy()
|
||||
|
||||
# ctx['settings'] = InvenTreeSetting.objects.all().order_by('key')
|
||||
|
||||
return ctx
|
||||
|
@ -6,12 +6,12 @@
|
||||
{% block label %}history{% endblock %}
|
||||
|
||||
{% block heading %}
|
||||
{% trans "History" %}
|
||||
{% trans "Notification History" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block actions %}
|
||||
<div class='btn btn-secondary' type='button' id='history-refresh' title='{% trans "Refresh History" %}'>
|
||||
<span class='fa fa-sync'></span> {% trans "Refresh History" %}
|
||||
<div class='btn btn-secondary' type='button' id='history-refresh' title='{% trans "Refresh Notification History" %}'>
|
||||
<span class='fa fa-sync'></span> {% trans "Refresh Notification History" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
{% block label %}inbox{% endblock %}
|
||||
|
||||
{% block heading %}
|
||||
{% trans "Inbox" %}
|
||||
{% trans "Pending Notifications" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block actions %}
|
||||
<div class='btn btn-secondary' type='button' id='inbox-refresh' title='{% trans "Refresh Inbox" %}'>
|
||||
<span class='fa fa-sync'></span> {% trans "Refresh Inbox" %}
|
||||
<div class='btn btn-secondary' type='button' id='inbox-refresh' title='{% trans "Refresh Pending Notifications" %}'>
|
||||
<span class='fa fa-sync'></span> {% trans "Refresh Pending Notifications" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user