X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/020556cb431cabc6357bf02d88ab993cfe86f16a..5a649a9e943f331ec61d2e86c3840397777ccfb6:/redakcja/static/js/catalogue/book_list.js diff --git a/redakcja/static/js/catalogue/book_list.js b/redakcja/static/js/catalogue/book_list.js index a3d092bc..9dd1e413 100644 --- a/redakcja/static/js/catalogue/book_list.js +++ b/redakcja/static/js/catalogue/book_list.js @@ -68,16 +68,16 @@ selector: '#file-list', items: { "stage": { - name: "Set stage", + name: $("label[for=mass_edit_stage]").text(), items: get_items("stage"), icon: "clock", }, "user": { - name: "Set user", + name: $("label[for=mass_edit_user]").text(), items: (function() { var active_users = get_items("user"); active_users['other'] = { - name: "Other", + name: $("label[for=mass_edit_other]").text(), items: get_items("other-user"), }; return active_users; @@ -85,11 +85,19 @@ icon: "user", }, "publish": { - name: "Mark publishable", + name: $("label[for=mass_edit_publish]").text(), icon: "ok", }, + "project" :{ + name: $("label[for=mass_edit_project]").text(), + items: get_items("project"), + }, + "publish": { + name: $("label[for=mass_edit_publish]").text(), + icon: "ok", + }, "unpublish": { - name: "Mark not publishable", + name: $("label[for=mass_edit_unpublish]").text(), icon: "stop", }, },