Show username and user ID on "User Credentials Details" popup

Change-Id: Ia14806c8bc256ff37f288f00302dbf9a1dda8f04
Closes-Bug: #1838749
This commit is contained in:
Ivan Kolodyazhny 2019-08-02 12:33:47 +03:00
parent 54e34fc841
commit d86b940192

View File

@ -7,7 +7,11 @@
<div class="{% if ec2_creds %}left{% endif %}">
<div class="form-group">
<label for="openrc-user">{% trans "User Name" %}</label>
<input type="text" class="form-control" id="openrc-user" readonly value="{{ openrc_creds.user }}">
<input type="text" class="form-control" id="openrc-user" readonly value="{{ openrc_creds.user.username }}">
</div>
<div class="form-group">
<label for="openrc-user">{% trans "User ID" %}</label>
<input type="text" class="form-control" id="openrc-userid" readonly value="{{ openrc_creds.user.id }}">
</div>
{% if "user_domain_name" in openrc_creds %}
<div class="form-group">