Commit a87fc12c authored by Athina Bekakou's avatar Athina Bekakou Committed by Giorgos Korfiatis

admin: Rewording

parent 561e1542
......@@ -60,7 +60,7 @@ class IPLogJSONView(AdminJSONView):
def get_extra_data_row(self, inst):
extra_dict = OrderedDict()
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -95,7 +95,7 @@ def catalog(request):
context = {}
context['action_dict'] = None
context['filter_dict'] = IPLogFilterSet().filters.values()
context['columns'] = ["Address", "Owner", "Server ID", "Network ID",
context['columns'] = ["Address", "Owner UUID", "Server ID", "Network ID",
"Allocation date", "Release date", "Active", ""]
context['item_type'] = 'ip_log'
......
......@@ -122,7 +122,7 @@ class IPJSONView(AdminJSONView):
def add_verbose_data(self, inst):
extra_dict = OrderedDict()
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -175,7 +175,7 @@ def catalog(request):
context['action_dict'] = get_permitted_actions(cached_actions,
request.user)
context['filter_dict'] = IPFilterSet().filters.values()
context['columns'] = ["ID", "Owner", "Address", "Floating",
context['columns'] = ["ID", "Owner UUID", "Address", "Floating",
"Creation date", "User ID", ""]
context['item_type'] = 'ip'
......
......@@ -109,7 +109,7 @@ class NetworkJSONView(AdminJSONView):
}
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -166,7 +166,7 @@ def catalog(request):
context['action_dict'] = get_permitted_actions(cached_actions,
request.user)
context['filter_dict'] = NetworkFilterSet().filters.values()
context['columns'] = ["ID", "Owner", "Name", "Status", "Public",
context['columns'] = ["ID", "Owner UUID", "Name", "Status", "Public",
"Drained", ""]
context['item_type'] = 'network'
......
......@@ -138,7 +138,7 @@ class ProjectJSONView(AdminJSONView):
def add_verbose_data(self, inst):
extra_dict = OrderedDict()
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -219,7 +219,7 @@ def catalog(request):
context['action_dict'] = get_permitted_actions(cached_actions,
request.user)
context['filter_dict'] = ProjectFilterSet().filters.values()
context['columns'] = ["ID", "Owner", "Name", "Project Status",
context['columns'] = ["ID", "Owner UUID", "Name", "Project Status",
"Application Status", "Creation date", "End date",
""]
context['item_type'] = 'project'
......
......@@ -114,7 +114,7 @@ class VMJSONView(AdminJSONView):
def add_verbose_data(self, inst):
extra_dict = OrderedDict()
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -192,7 +192,7 @@ def catalog(request):
context['action_dict'] = get_permitted_actions(cached_actions,
request.user)
context['filter_dict'] = VMFilterSet().filters.values()
context['columns'] = ["ID", "Owner", "Name", "State", "Suspended", ""]
context['columns'] = ["ID", "Owner UUID", "Name", "State", "Suspended", ""]
context['item_type'] = 'vm'
return context
......
......@@ -123,7 +123,7 @@ class VolumeJSONView(AdminJSONView):
def add_verbose_data(self, inst):
extra_dict = OrderedDict()
extra_dict['user_info'] = {
'display_name': "User",
'display_name': "Owner",
'value': get_user_details_href(inst),
'visible': True,
}
......@@ -189,7 +189,7 @@ def catalog(request):
context['action_dict'] = get_permitted_actions(cached_actions,
request.user)
context['filter_dict'] = VolumeFilterSet().filters.values()
context['columns'] = ["ID", "Owner", "Name", "Status", "Size (GB)",
context['columns'] = ["ID", "Owner UUID", "Name", "Status", "Size (GB)",
"Disk template", "VM ID", "Created at",
"Updated at", ""]
context['item_type'] = 'volume'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment