Skip to content

Commit

Permalink
Remove property term from dashboard. (apache#2553)
Browse files Browse the repository at this point in the history
This updates the html to display the new v2 naming.

### Motivation

This brings the dashboard up to date with the new v2 naming. Property/properties are now tenant/tenants.
  • Loading branch information
cckellogg authored and sijie committed Sep 12, 2018
1 parent 71003e2 commit 5506b54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dashboard/django/stats/templates/stats/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>
{% block nav-global %}
<h2> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="{% url 'home' %}">Properties</a> &nbsp; | &nbsp;
<a href="{% url 'home' %}">Tenants</a> &nbsp; | &nbsp;
<a href="{% url 'brokers' %}">Brokers</a> &nbsp; | &nbsp;
<a href="{% url 'topics' %}">Topics</a> &nbsp; | &nbsp;
<a href="{% url 'clusters' %}">Clusters</a>
Expand Down
4 changes: 2 additions & 2 deletions dashboard/django/stats/templates/stats/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<table>
<thead>
<tr>
{% column_header properties 'name' 'Property' %}
{% column_header properties 'name' 'Tenant' %}
{% column_header properties 'numNamespaces' 'Namespaces' %}
{% column_header properties 'numTopics' 'Topics' %}
{% column_header properties 'numProducers' 'Producers' %}
Expand Down Expand Up @@ -64,7 +64,7 @@
<td>{{property.storage | filesizeformat}}</td>
</tr>
{% empty %}
<tr><td>No properties</td></tr>
<tr><td>No tenants</td></tr>
{% endfor %}
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/django/stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def home(request):

return render(request, 'stats/home.html', {
'properties': properties,
'title' : 'Properties',
'title' : 'Tenants',
})

def property(request, property_name):
Expand Down

0 comments on commit 5506b54

Please sign in to comment.