Show username and user ID on "User Credentials Details" popup
Closes-Bug:
<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">
