Added tabs for services.
This commit is contained in:
15
tabula/tabula/templates/service_details.html
Normal file
15
tabula/tabula/templates/service_details.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
{% load i18n sizeformat %}
|
||||||
|
{% block title %}{% trans "Service Detail" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block page_header %}
|
||||||
|
{% include "horizon/common/_page_header.html" with title="Service Detail: "|add:service.name %}
|
||||||
|
{% endblock page_header %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span12">
|
||||||
|
{{ tab_group.render }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
@@ -175,7 +175,7 @@ class WinServices(tables.DataTableView):
|
|||||||
|
|
||||||
class DetailServiceView(tabs.TabView):
|
class DetailServiceView(tabs.TabView):
|
||||||
tab_group_class = WinServicesTabs
|
tab_group_class = WinServicesTabs
|
||||||
template_name = '_services.html'
|
template_name = 'service_details.html'
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super(DetailServiceView, self).get_context_data(**kwargs)
|
context = super(DetailServiceView, self).get_context_data(**kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user