Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Nov 6, 2024
1 parent a9d1c76 commit a4973a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Agora-core-view contains the admin interface for sequent v3, and it's developed
with AngularJS.

# Installation

You need to install node.js. This project has been tested to work with node.js
Expand Down
7 changes: 7 additions & 0 deletions avAdmin/admin-directives/elections/elections.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ <h2 ng-i18next>
ui-sref="admin.new()">
<i class="fa fa-plus"></i>
</button>

<button
class="btn btn-default delete-elections"
ng-if="hasPerms(['create'])"
ng-click="deleteSelected()">
<i class="fa fa-ellipsis-vertical"></i>
</button>

<ul class="nav nav-pills">
<li
Expand Down
7 changes: 6 additions & 1 deletion avAdmin/admin-directives/elections/elections.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ angular.module('avAdmin')
scope.loadMoreElections(true);
}

function deleteSelected() {

}

scope.exhtml = [];
Plugins.hook(
'admin-elections-list-extra-html',
Expand All @@ -194,7 +198,8 @@ angular.module('avAdmin')
loadMoreElections: loadMoreElections,
setListType: setListType,
toggleShowChildren: toggleShowChildren,
reloadList: reloadList
reloadList: reloadList,
deleteSelected: deleteSelected
});
}

Expand Down

0 comments on commit a4973a4

Please sign in to comment.