fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edit attributes in wysiwyg editor
[redakcja.git]
/
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
a3d092b
..
c0fbf37
100644
(file)
--- 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": {
selector: '#file-list',
items: {
"stage": {
- name:
"Set stage"
,
+ name:
$("label[for=mass_edit_stage]").text()
,
items: get_items("stage"),
icon: "clock",
},
"user": {
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'] = {
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;
items: get_items("other-user"),
};
return active_users;
@@
-85,11
+85,11
@@
icon: "user",
},
"publish": {
icon: "user",
},
"publish": {
- name:
"Mark publishable"
,
+ name:
$("label[for=mass_edit_publish]").text()
,
icon: "ok",
},
"unpublish": {
icon: "ok",
},
"unpublish": {
- name:
"Mark not publishable"
,
+ name:
$("label[for=mass_edit_unpublish]").text()
,
icon: "stop",
},
},
icon: "stop",
},
},