Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit 1f4cd99

Browse files
committed
Revert "RIPE organization handle, #127"
This reverts commit 9b333e1.
1 parent 9b333e1 commit 1f4cd99

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

frontend/app/scripts/controllers/organizationedit.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ angular.module('cpApp')
113113
country: '',
114114
street: '',
115115
zip: '',
116-
comment: 'RIPE organization handle: ' + ripe_handle,
116+
comment: 'RIPE handle: ' + ripe_handle,
117117
});
118118
});
119119

@@ -249,7 +249,7 @@ angular.module('cpApp')
249249
$scope.add_ripe_handle = function(){
250250
if ($scope.org.hasOwnProperty('ripe_handles')) {
251251
if ($scope.org.ripe_handles.includes($scope.new_ripe_handle)) {
252-
notify({classes: 'notify-error', message: 'this RIPE organization handle already exists.'});
252+
notify({classes: 'notify-error', message: 'this RIPE handle already exists.'});
253253
return;
254254
}
255255
$scope.org.ripe_handles.push($scope.new_ripe_handle);
@@ -261,7 +261,7 @@ angular.module('cpApp')
261261
function(){
262262
notify({
263263
classes: 'notify-success',
264-
message: 'added new RIPE organization handle: ' + $scope.new_ripe_handle
264+
message: 'added new RIPE handle: ' + $scope.new_ripe_handle
265265
});
266266
$scope.new_ripe_handle = '';
267267
loadParallel();
@@ -272,13 +272,13 @@ angular.module('cpApp')
272272
);
273273
};
274274
$scope.delete_ripe_handle = function(ripe_handle, index){
275-
if( window.confirm('Do you really want to delete this RIPE organization handle? (' + ripe_handle + ')') ) {
275+
if( window.confirm('Do you really want to delete this RIPE handle? (' + ripe_handle + ')') ) {
276276
$scope.org.ripe_handles.splice(index, 1);
277277
$scope.update_organization(
278278
function(){
279279
notify({
280280
classes: 'notify-success',
281-
message: 'deleted RIPE organization handle: ' + ripe_handle
281+
message: 'deleted RIPE handle: ' + ripe_handle
282282
});
283283
loadParallel();
284284
},

frontend/app/views/organization-edit.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ <h3 ng-show="!org.id" class="panel-title">Create organization</h3>
5959
<div class="col-xs-2"></div>
6060
<div class="col-xs-2">
6161
<input type="text" class="form-control input-sm"
62-
placeholder="RIPE organization handle" ng-model="new_ripe_handle">
62+
placeholder="RIPE handle" ng-model="new_ripe_handle">
6363
</div>
6464
<div class="col-xs-1">
6565
<button class="btn btn-default btn-sm" ng-disabled="!new_ripe_handle" ng-click="add_ripe_handle()">
6666
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
67-
Add RIPE organization handle
67+
Add RIPE handle
6868
</button>
6969
</div>
7070
</div>

frontend/config/envs/devel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": "0.7.0",
3-
"webServiceUrl": "http://portal-backend:8081/cp/1.0",
4-
"authUrl": "http://portal-backend:8081/auth"
3+
"webServiceUrl": "http://127.0.0.1:8000/cp/1.0",
4+
"authUrl": "http://127.0.0.1:8000/auth"
55
}

frontend/config/envs/production.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.7.0",
3-
"webServiceUrl": "http://portal-backend:8081/cp/1.0",
4-
"authUrl": "http://portal-backend:8081/auth"
2+
"version": "0.6.5",
3+
"webServiceUrl": "/api/1.0",
4+
"authUrl": "/auth"
55
}

0 commit comments

Comments
 (0)