mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 18:06:45 +00:00
Merge pull request #222 from Reena-cell/develop
Changes in welcome messages
This commit is contained in:
commit
b1f4b4f36b
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user