Merge pull request #222 from Reena-cell/develop

Changes in welcome messages
This commit is contained in:
Simon Redfern 2022-09-16 10:53:39 +02:00 committed by GitHub
commit b1f4b4f36b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -335,7 +335,7 @@ class UpdateAtmsView(LoginRequiredMixin, FormView):
except Exception as e:
messages.error(self.request, e)
return super(UpdateAtmsView, self).form_invalid(form)
msg = 'Atm {} for Bank {} has been update successfully!'.format( # noqa
msg = 'Atm {} for Bank {} has been updated successfully!'.format( # noqa
data["atm_id"], data["bank_id"])
messages.success(self.request, msg)
return super(UpdateAtmsView, self).form_valid(form)

View File

@ -6,11 +6,11 @@
<div class="well" id="intro">
{% if not user.is_authenticated %}
<p>
{% trans "This app gives you access to management functionality for the OBP instance at" %} <a href="{{ API_HOST }}">{{ API_HOST }}</a>. {% trans "You have to" %}<a href="{{ API_HOST }}/user_mgt/sign_up" title="Register at {{ API_HOST }}"> {% trans "register" %} </a> {% trans "an account before being able to proceed" %}.{% trans "Your access is limited by the Entitlements you have." %}
{% trans "API Manager allows you to manage some aspects of the OBP instance at " %} <a href="{{ API_HOST }}">{{ API_HOST }}</a>. {% trans "You have to " %} <a href="{{ API_HOST }}" title="Login at {{ API_HOST }}"> {% trans "login" %} </a> {% trans "or" %} <a href="{{ API_HOST }}/user_mgt/sign_up" title="Register at {{ API_HOST }}"> {% trans "register" %} </a> {% trans "an account before being able to proceed" %}.{% trans "Your access is limited by the Entitlements you have." %}
</p>
{% else %}
<p>
{% trans "This app gives you access to management functionality for the OBP instance at" %} <a href="{{ API_HOST }}">{{ API_HOST }}</a>.
{% trans "API Manager allows you to manage some aspects of the OBP instance at " %} <a href="{{ API_HOST }}">{{ API_HOST }}</a>.
</p>
{% endif %}
</div>