Ensure that username should be visible in the 'Connect to Server' popup when service and user name both specified. Fixes #5871

This commit is contained in:
Rahul Shirsat 2021-01-29 11:32:27 +05:30 committed by Akshay Joshi
parent e230787f21
commit ab642344d4
3 changed files with 24 additions and 3 deletions

View File

@ -11,6 +11,7 @@ notes for it.
.. toctree::
:maxdepth: 1
release_notes_5_0
release_notes_4_30
release_notes_4_29
release_notes_4_28

View File

@ -0,0 +1,20 @@
************
Version 5.0
************
Release date: 2021-02-25
This release contains a number of bug fixes and new features since the release of pgAdmin4 4.30.
New features
************
Housekeeping
************
Bug fixes
*********
| `Issue #5871 <https://redmine.postgresql.org/issues/5871>`_ - Ensure that username should be visible in the 'Connect to Server' popup when service and user name both specified.

View File

@ -1,11 +1,11 @@
<form name="frmPassword" id="frmPassword" style="height: 100%; width: 100%" onsubmit="return false;">
<div>
<div><span class="font-weight-bold" >
{% if service %}
{{ _('Please enter the password for the user to connect the server - "{0}"').format(server_label) }}
{% else %}
{% if username %}
{{ _('Please enter the password for the user \'{0}\' to connect the server - "{1}"').format(username,
server_label) }}
{% else %}
{{ _('Please enter the password for the user to connect the server - "{0}"').format(server_label) }}
{% endif %}
</span></div>
<div class="input-group row py-2">