sijie closed pull request #2553: Remove property term from dashboard. URL: https://github.com/apache/incubator-pulsar/pull/2553
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/dashboard/django/stats/templates/stats/base.html b/dashboard/django/stats/templates/stats/base.html index 1e5843f9c1..9ffdb77a9b 100644 --- a/dashboard/django/stats/templates/stats/base.html +++ b/dashboard/django/stats/templates/stats/base.html @@ -50,7 +50,7 @@ </div> {% block nav-global %} <h2> - <a href="{% url 'home' %}">Properties</a> | + <a href="{% url 'home' %}">Tenants</a> | <a href="{% url 'brokers' %}">Brokers</a> | <a href="{% url 'topics' %}">Topics</a> | <a href="{% url 'clusters' %}">Clusters</a> diff --git a/dashboard/django/stats/templates/stats/home.html b/dashboard/django/stats/templates/stats/home.html index 828bfaed39..7e9cb803ac 100644 --- a/dashboard/django/stats/templates/stats/home.html +++ b/dashboard/django/stats/templates/stats/home.html @@ -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' %} @@ -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> diff --git a/dashboard/django/stats/views.py b/dashboard/django/stats/views.py index 9ab6859d11..6aba518d4d 100644 --- a/dashboard/django/stats/views.py +++ b/dashboard/django/stats/views.py @@ -62,7 +62,7 @@ def home(request): return render(request, 'stats/home.html', { 'properties': properties, - 'title' : 'Properties', + 'title' : 'Tenants', }) def property(request, property_name): ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services