add link on sidebar and put empty data
This commit is contained in:
parent
5e74255145
commit
123757793f
|
@ -510,7 +510,7 @@ class SnapshotListView(GenericMixView):
|
||||||
decorators = [login_required]
|
decorators = [login_required]
|
||||||
template_name = 'inventory/snapshots_list.html'
|
template_name = 'inventory/snapshots_list.html'
|
||||||
|
|
||||||
def dispatch_request(self, id):
|
def dispatch_request(self):
|
||||||
self.get_context()
|
self.get_context()
|
||||||
self.context['page_title'] = "Snapshots"
|
self.context['page_title'] = "Snapshots"
|
||||||
self.context['snapshots'] = []
|
self.context['snapshots'] = []
|
||||||
|
|
|
@ -101,6 +101,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li><!-- End Dashboard Nav -->
|
</li><!-- End Dashboard Nav -->
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link collapsed" href="{{ url_for('inventory.snapshotslist') }}">
|
||||||
|
<i class="bi-menu-button-wide"></i>
|
||||||
|
<span>Uploaded Snapshots</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link collapsed" href="{{ url_for('inventory.devicelist') }}">
|
<a class="nav-link collapsed" href="{{ url_for('inventory.devicelist') }}">
|
||||||
<i class="bi-menu-button-wide"></i>
|
<i class="bi-menu-button-wide"></i>
|
||||||
|
|
Reference in New Issue