diff --git a/openslides/agenda/static/js/agenda/site.js b/openslides/agenda/static/js/agenda/site.js index 23295162c..319c87f81 100644 --- a/openslides/agenda/static/js/agenda/site.js +++ b/openslides/agenda/static/js/agenda/site.js @@ -142,16 +142,6 @@ angular.module('OpenSlidesApp.agenda.site', ['OpenSlidesApp.agenda']) $scope.newDialog = function () { ngDialog.open(CustomslideForm.getDialog()); }; - // open edit dialog - $scope.editDialog = function (item) { - $state.go(item.content_object.collection.replace('/','.')+'.detail.update', - {id: item.content_object.id}); - }; - // detail view of related item (content object) - $scope.open = function (item) { - $state.go(item.content_object.collection.replace('/','.')+'.detail', - {id: item.content_object.id}); - }; // cancel QuickEdit mode $scope.cancelQuickEdit = function (item) { // revert all changes by restore (refresh) original item object from server @@ -264,12 +254,6 @@ angular.module('OpenSlidesApp.agenda.site', ['OpenSlidesApp.agenda']) $scope.speakers = $filter('orderBy')(item.speakers, 'weight'); }); - // go to detail view of related item (content object) - $scope.open = function (item) { - $state.go(item.content_object.collection.replace('/','.')+'.detail', - {id: item.content_object.id}); - }; - // close/open list of speakers of current item $scope.closeList = function (listClosed) { item.speaker_list_closed = listClosed; diff --git a/openslides/agenda/static/templates/agenda/item-detail.html b/openslides/agenda/static/templates/agenda/item-detail.html index 67169b2f8..b07123cf5 100644 --- a/openslides/agenda/static/templates/agenda/item-detail.html +++ b/openslides/agenda/static/templates/agenda/item-detail.html @@ -5,7 +5,7 @@ Agenda - + {{ item.getContentResource().verboseName | translate }} diff --git a/openslides/agenda/static/templates/agenda/item-list.html b/openslides/agenda/static/templates/agenda/item-list.html index 07e5c5837..156eb3e4a 100644 --- a/openslides/agenda/static/templates/agenda/item-list.html +++ b/openslides/agenda/static/templates/agenda/item-list.html @@ -169,7 +169,7 @@ - + {{ item.getListViewTitle() }} @@ -183,7 +183,8 @@