Skip to content

Commit

Permalink
Merge pull request #576 from kobotoolbox/574-fixup
Browse files Browse the repository at this point in the history
Trivially change Legacy Rest Services verbiage
  • Loading branch information
jnm committed Sep 24, 2019
2 parents 77cca58 + 7d160b9 commit 0c27df8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions onadata/apps/restservice/templates/add-service.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
{% block content %}
<div id="addserviceform-container">
<p>
New REST services may no longer be added to KoBoCAT. Please migrate ALL
new <strong>and existing</strong> REST services to KPI!
Please manage REST Services within the new user interface. Go to the
<a href="{{ koboform_url }}">Project Dashboard</a> and navigate to
<span style="white-space: nowrap"><strong>
Your Project &gt; Settings &gt; REST Services.
</strong></span>
</p>
<ol id="restservice_list">
{% for sv in list_services %}
Expand Down
2 changes: 1 addition & 1 deletion onadata/apps/restservice/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def add_service(request, username, id_string):
if request.method == 'POST':
return HttpResponseGone(
'New REST services may no longer be added to KoBoCAT. Please '
'migrate ALL new *and existing* REST services to KPI!'
'use KPI instead.'
)

# do not show KPI hooks in this legacy view
Expand Down

0 comments on commit 0c27df8

Please sign in to comment.